<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0045)http://congdongjava.com/showthread.php?t=7890 -->
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="vi"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	
<script type="text/javascript" async="" src="./Xin đổi giao diện cho code Java này_files/ga.js"></script><script type="\&quot;text/javascript\&quot;" src="./Xin đổi giao diện cho code Java này_files/-"></script>
<meta name="generator" content="vBulletin 3.8.3">
<meta name="robots" content="index,follow">
<meta name="content-language" content="tr">
<meta name="rating" content="All">

<meta name="keywords" content=" Xin đổi giao diện cho code Java này, vbulletin,java,forum,dien dan java,thuat thuat java,j2me, j2ee, j2se, lap trinh ung dung java, lap trinh java, java desktop, java vietnam, java viet nam">
<meta name="description" content=" Xin đổi giao diện cho code Java này Xây dựng các ứng dụng Java khácCác vấn đề khác">


<!-- CSS Stylesheet -->
<style type="text/css" id="vbulletin_css">
/**
* vBulletin 3.8.3 CSS
* Style: 'Mino'; Style ID: 13
*/
body
{
	background: #fff url(http://congdongjava.com//milon-4/bgtenko.jpg) repeat-x top left;
	color: #000000;
	font: 10pt tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
	margin: 0px 0px 0px 0px;
	padding: 0px;
	background-attachment: fixed;
}
a:link, body_alink
{
	color: #666666;
	text-decoration: none;
}
a:visited, body_avisited
{
	color: #666666;
	text-decoration: none;
}
a:hover, a:active, body_ahover
{
	color: #333333;
	text-decoration: underline;
}
.page
{
	background: #FFFFFF;
	color: #000000;
}
td, th, p, li
{
	font: 10pt tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.tborder
{
	background: #FFFFFF;
	color: #000000;
	border: 1px solid #D6D6D6;
}
.tcat
{
	background: #1F9EC7 url(http://congdongjava.com//milon-4/gradients/gradient_tcat.gif) repeat-x top left;
	color: #FFFFFF;
	font: bold 10pt tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.tcat a:link, .tcat_alink
{
	color: #ffffff;
	text-decoration: none;
}
.tcat a:visited, .tcat_avisited
{
	color: #ffffff;
	text-decoration: none;
}
.tcat a:hover, .tcat a:active, .tcat_ahover
{
	color: #000000;
	text-decoration: underline;
}
.thead
{
	background: #242223;
	color: #FFFFFF;
	font: bold 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.thead a:link, .thead_alink
{
	color: #FFFFFF;
}
.thead a:visited, .thead_avisited
{
	color: #FFFFFF;
}
.thead a:hover, .thead a:active, .thead_ahover
{
	color: #666666;
}
.tfoot
{
	background: #242223;
	color: #E0E0F6;
}
.tfoot a:link, .tfoot_alink
{
	color: #E0E0F6;
}
.tfoot a:visited, .tfoot_avisited
{
	color: #E0E0F6;
}
.tfoot a:hover, .tfoot a:active, .tfoot_ahover
{
	color: #999999;
}
.alt1, .alt1Active
{
	background: #ececec url(http://congdongjava.com//milon-4/misc/altbg.gif) repeat-x top left;
	color: #000000;
		border-right:1px solid #dedbdb;
		border-left:1px solid #f4f4ed;
		border-top:1px solid #f4f4ed;
		border-bottom:1px solid #dedbdb;
	
}
.alt2, .alt2Active
{
	background: #ececec url(http://congdongjava.com//milon-4/misc/altbg.gif) repeat-x top left;
	color: #000000;
		border-right:1px solid #dedbdb;
		border-left:1px solid #f4f4ed;
		border-top:1px solid #f4f4ed;
		border-bottom:1px solid #dedbdb;
	
}
.inlinemod
{
	background: #CCCC99;
	color: #000000;
}
.wysiwyg
{
	background: #F5F5FF;
	color: #000000;
	font: 10pt tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
	margin: 5px 10px 10px 10px;
	padding: 0px;
}
.wysiwyg a:link, .wysiwyg_alink
{
	color: #4EABBA;
}
.wysiwyg a:visited, .wysiwyg_avisited
{
	color: #4EABBA;
}
.wysiwyg a:hover, .wysiwyg a:active, .wysiwyg_ahover
{
	color: #333333;
}
textarea, .bginput
{
	background: #F2F2F2;
	font: 10pt tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
	border:1px;
	border-color:#999999;
	border-style:solid;
}
.bginput option, .bginput optgroup
{
	font-size: 10pt;
	font-family: tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.button
{
	background: #1F9EC7;
	color: #FFFFFF;
	font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
	border:0px;
}
select
{
	font: 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
option, optgroup
{
	font-size: 11px;
	font-family: tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.smallfont
{
	font: 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.time
{
	color: #999999;
}
.navbar
{
	font: 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.highlight
{
	color: #FF0000;
	font-weight: bold;
}
.fjsel
{
	background: #3E5C92;
	color: #E0E0F6;
}
.fjdpth0
{
	background: #F7F7F7;
	color: #000000;
}
.panel
{
	background: #F5F5FF;
	color: #000000;
	padding: 10px;
	border: 0px outset;
}
.panelsurround
{
	background: #F5F5FF;
	color: #000000;
}
legend
{
	color: #65ADCD;
	font: 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.vbmenu_control
{
	background: #242223;
	color: #FFFFFF;
	font: bold 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
	padding: 3px 6px 3px 6px;
	white-space: nowrap;
}
.vbmenu_control a:link, .vbmenu_control_alink
{
	color: #FFFFFF;
	text-decoration: none;
}
.vbmenu_control a:visited, .vbmenu_control_avisited
{
	color: #FFFFFF;
	text-decoration: none;
}
.vbmenu_control a:hover, .vbmenu_control a:active, .vbmenu_control_ahover
{
	color: #FFFFFF;
	text-decoration: underline;
}
.vbmenu_popup
{
	background: #FFFFFF;
	color: #000000;
	border: 0px solid #0B198C;
}
.vbmenu_option
{
	background: #CCCCCC;
	color: #333333;
	font: 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
	white-space: nowrap;
	cursor: pointer;
}
.vbmenu_option a:link, .vbmenu_option_alink
{
	color: #333333;
	text-decoration: none;
}
.vbmenu_option a:visited, .vbmenu_option_avisited
{
	color: #333333;
	text-decoration: none;
}
.vbmenu_option a:hover, .vbmenu_option a:active, .vbmenu_option_ahover
{
	color: #FFFFFF;
	text-decoration: none;
}
.vbmenu_hilite
{
	background: #666666;
	color: #FFFFFF;
	font: 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
	white-space: nowrap;
	cursor: pointer;
}
.vbmenu_hilite a:link, .vbmenu_hilite_alink
{
	color: #FFFFFF;
	text-decoration: none;
}
.vbmenu_hilite a:visited, .vbmenu_hilite_avisited
{
	color: #FFFFFF;
	text-decoration: none;
}
.vbmenu_hilite a:hover, .vbmenu_hilite a:active, .vbmenu_hilite_ahover
{
	color: #FFFFFF;
	text-decoration: none;
}
/* ***** styling for 'big' usernames on postbit etc. ***** */
.bigusername { font-size: 14pt; }

/* ***** small padding on 'thead' elements ***** */
td.thead, th.thead, div.thead { padding: 4px; }

/* ***** basic styles for multi-page nav elements */
.pagenav a { text-decoration: none; }
.pagenav td { padding: 2px 4px 2px 4px; }

/* ***** de-emphasized text */
.shade, a.shade:link, a.shade:visited { color: #777777; text-decoration: none; }
a.shade:active, a.shade:hover { color: #FF4400; text-decoration: underline; }
.tcat .shade, .thead .shade, .tfoot .shade { color: #DDDDDD; }

/* ***** define margin and font-size for elements inside panels ***** */
.fieldset { margin-bottom: 6px; }
.fieldset, .fieldset td, .fieldset p, .fieldset li { font-size: 11px; }
.alt11, .alt11Active
{
	background: #ececec url(../../milon-4/misc/altbg.gif) repeat-x top left;
	color: #000000;
	
}
.alt22, .alt22Active
{
	background: #ececec url(../../milon-4/misc/bakko.gif) repeat-x top left;
	color: #000000;
	
}


.smallfont1
{
	font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;color:#B2AA8F;
}
.srcmil4{background:#5B574C;color:#FFF;border:1px;border-style:solid;border-color:#C5C0B0;font-size:11px;}

.postingo{
background:#ECECEC;
	border:1px;
	border-color:#D4D4D4;
	border-style:solid;
    border-left:1px;
    border-left-color:#D4D4D4;
    border-left-style:solid;
	border-bottom:1px;
	border-bottom-style:solid;
	border-bottom-color:#D4D4D4;
	color:#333;
	font-family:Tahoma, Geneva, sans-serif;
	font-size:11px;
	padding:5px 5px 5px 5px;
	margin-top:2px;
	}

.birihicyoktanvurdukafestekusumuzu{background:#B2CDE0;}
.birihicyoktanvurdukafestekusumuzu1{background:#ECECEC;}
h1.myh1 {font-family: Tahoma; font-size: 11px; 
color: #000000; font-weight: bold;} 
  
h2.myh2 {font-family: Tahoma; font-size: 9px; 
color: #000000;font-weight: normal;}  


.tcat1
{
	background: #242223 url(../../milon-4/gradients/gradient_tcat1.gif) repeat-x top left;
	color: #FFFFFF;
	font: bold 10pt tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.tcat1 a:link, .tcat1_alink
{
	color: #ffffff;
	text-decoration: none;
}
.tcat1 a:visited, .tcat1_avisited
{
	color: #ffffff;
	text-decoration: none;
}
.tcat1 a:hover, .tcat1 a:active, .tcat1_ahover
{
	color: #65ADCD;
	text-decoration: underline;
}
</style>
<link rel="stylesheet" type="text/css" href="./Xin đổi giao diện cho code Java này_files/vbulletin_important.css">


<!-- / CSS Stylesheet -->

<script type="text/javascript" src="./Xin đổi giao diện cho code Java này_files/yahoo-dom-event.js"></script>
<script type="text/javascript" src="./Xin đổi giao diện cho code Java này_files/connection-min.js"></script>
<script type="text/javascript">
<!--
var SESSIONURL = "";
var SECURITYTOKEN = "guest";
var IMGDIR_MISC = "http://congdongjava.com//milon-4/misc";
var vb_disable_ajax = parseInt("0", 10);
// -->
</script>
<script type="text/javascript" src="./Xin đổi giao diện cho code Java này_files/vbulletin_global.js"></script>
<script type="text/javascript" src="./Xin đổi giao diện cho code Java này_files/vbulletin_menu.js"></script>


	<link rel="alternate" type="application/rss+xml" title="Cộng đồng Java Việt Nam RSS Feed" href="http://congdongjava.com/external.php?type=RSS2">
	
		<link rel="alternate" type="application/rss+xml" title="Cộng đồng Java Việt Nam - Xây dựng các ứng dụng Java khácCác vấn đề khác - RSS Feed" href="http://congdongjava.com/external.php?type=RSS2&forumids=99">
	

<link href="./Xin đổi giao diện cho code Java này_files/style.css" media="all" rel="stylesheet" type="text/css">
<!-- 
  nCode Image Resizer
  (c) nCode
  http://www.ncode.nl/
-->
<script type="text/javascript" src="./Xin đổi giao diện cho code Java này_files/ncode_imageresizer.js"></script>
<style type="text/css">
<!--
table.ncode_imageresizer_warning {
	background: #FFFFE1;
	color: #000000;
	border: 1px solid #CCC;
	cursor: pointer;
}

table.ncode_imageresizer_warning td {
	font-size: 10px;
	vertical-align: middle;
	text-decoration: none;
}

table.ncode_imageresizer_warning td.td1 {
	padding: 5px;
}

table.ncode_imageresizer_warning td.td1 {
	padding: 2px;
}
-->
</style>
<script type="text/javascript">
<!--
NcodeImageResizer.MODE = 'enlarge';
NcodeImageResizer.MAXWIDTH = 850;
NcodeImageResizer.MAXHEIGHT = 0;

vbphrase['ncode_imageresizer_warning_small'] = 'Click this bar to view the full image.';
vbphrase['ncode_imageresizer_warning_filesize'] = 'This image has been resized. Click this bar to view the full image. The original image is sized %1$sx%2$s and weights %3$sKB.';
vbphrase['ncode_imageresizer_warning_no_filesize'] = 'This image has been resized. Click this bar to view the full image. The original image is sized %1$sx%2$s.';
vbphrase['ncode_imageresizer_warning_fullsize'] = 'Click this bar to view the small image.';
//-->
</script><script type="text/javascript" src="./Xin đổi giao diện cho code Java này_files/post_thanks.js"></script>
	<title> Xin đổi giao diện cho code Java này</title>
	<script type="text/javascript" src="./Xin đổi giao diện cho code Java này_files/vbulletin_post_loader.js"></script>
	<style type="text/css" id="vbulletin_showthread_css">
	<!--
	
	#links div { white-space: nowrap; }
	#links img { vertical-align: middle; }
	-->
	</style>
<script src="chrome-extension://lifbcibllhkdhoafpjfnlhfpfgnpldfl/document_iterator.js"></script><script src="chrome-extension://lifbcibllhkdhoafpjfnlhfpfgnpldfl/find_proxy.js"></script><script src="chrome-extension://lifbcibllhkdhoafpjfnlhfpfgnpldfl/get_html_text.js"></script><script src="chrome-extension://lifbcibllhkdhoafpjfnlhfpfgnpldfl/global_constants.js"></script><script src="chrome-extension://lifbcibllhkdhoafpjfnlhfpfgnpldfl/name_injection_builder.js"></script><script src="chrome-extension://lifbcibllhkdhoafpjfnlhfpfgnpldfl/number_injection_builder.js"></script><script src="chrome-extension://lifbcibllhkdhoafpjfnlhfpfgnpldfl/string_finder.js"></script><script src="chrome-extension://lifbcibllhkdhoafpjfnlhfpfgnpldfl/change_sink.js"></script><meta name="document_iterator.js"><meta name="find_proxy.js"><meta name="get_html_text.js"><meta name="global_constants.js"><meta name="name_injection_builder.js"><meta name="number_injection_builder.js"><meta name="string_finder.js"><meta name="change_sink.js"><script type="text/javascript" src="./Xin đổi giao diện cho code Java này_files/saved_resource"></script><script type="text/javascript" src="./Xin đổi giao diện cho code Java này_files/search.I.js"></script><script defer="" type="text/javascript" src="./Xin đổi giao diện cho code Java này_files/e.php"></script></head>
<body onload="">
<script language="Javascript" src="./Xin đổi giao diện cho code Java này_files/viettyping.js"></script> 
<!-- logo -->
<a name="top"></a>
<table align="center">
	<tbody><tr><td align="center"><a href="http://congdongjava.com/index.php"><img src="./Xin đổi giao diện cho code Java này_files/banner.jpg" width="950"></a></td>
	<td align="right" id="header_right_cell">
		&nbsp;

</td></tr></tbody></table>
<!-- /logo -->

<!-- content table -->
<!-- open content container -->

<div align="center">
	<div class="page" style="width:950px; text-align:left">
		<div style="padding:0px 10px 0px 10px" align="left">





<br>
<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="5" cellspacing="1" border="0" width="100%" align="center">
<tbody><tr>

	<td class="alt1" width="100%">
		
			<table cellpadding="0" cellspacing="0" border="0">
			<tbody><tr valign="bottom">
				<td><a href="http://congdongjava.com/showthread.php?t=7890#" onclick="history.back(1); return false;"><img src="./Xin đổi giao diện cho code Java này_files/navbits_start.gif" alt="Trở về" border="0" title="Trở về"></a></td>
				<td>&nbsp;</td>
				<td width="100%"><span class="navbar"><a href="http://congdongjava.com/index.php" accesskey="1">Cộng đồng Java Việt Nam</a></span> 
	<span class="navbar"><img src="./Xin đổi giao diện cho code Java này_files/45.png" alt=""> <a href="http://congdongjava.com/forumdisplay.php?f=95">Hỗ trợ thực hành</a></span>


	<span class="navbar"><img src="./Xin đổi giao diện cho code Java này_files/45.png" alt=""> <a href="http://congdongjava.com/forumdisplay.php?f=99">Xây dựng các ứng dụng Java khác<br>Các vấn đề khác</a></span>

</td>
			</tr>
			</tbody></table>
		
	</td>


	<td class="alt2" nowrap="nowrap" style="padding:0px;">
		<!-- login form -->
		<form action="http://congdongjava.com/login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, 0)">
		<script type="text/javascript" src="./Xin đổi giao diện cho code Java này_files/vbulletin_md5.js"></script>
		<table cellpadding="0" cellspacing="3" border="0">
		<tbody><tr>
			<td class="smallfont" style="white-space: nowrap;"><label for="navbar_username">Ký danh</label></td>
			<td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="Ký danh" onfocus="if (this.value == &#39;Ký danh&#39;) this.value = &#39;&#39;;"></td>
			<td class="smallfont" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c">Ghi Nhớ?</label></td>
		</tr>
		<tr>
			<td class="smallfont"><label for="navbar_password">Mật mã</label></td>
			<td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102"></td>
			<td><input type="submit" class="button" value="Ðăng Nhập" tabindex="104" title="Nhập trên truy cập và mật mã để truy cập vào diễn đàn, hoặc nhấn vào nút đăng ký để tạo tài khoảng mới cho bạn." accesskey="s"></td>
		</tr>
		</tbody></table>
		<input type="hidden" name="s" value="">
		<input type="hidden" name="securitytoken" value="guest">
		<input type="hidden" name="do" value="login">
		<input type="hidden" name="vb_login_md5password">
		<input type="hidden" name="vb_login_md5password_utf">
		</form>
		<!-- / login form -->
	</td>

</tr>
</tbody></table>
<!-- / breadcrumb, login, pm info -->

<!-- nav buttons bar -->
<div class="tborder" style="padding:1px; border-top-width:0px">
	<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
	<tbody><tr align="center">
		
		
			<td class="vbmenu_control"><a href="http://congdongjava.com/register.php" rel="nofollow">Ghi Danh</a></td>
		
		
		<td class="vbmenu_control"><a rel="help" href="http://congdongjava.com/faq.php" accesskey="5">Hỏi/Ðáp</a></td>
		
			<td class="vbmenu_control"><a id="community" href="http://congdongjava.com/showthread.php?t=7890&nojs=1#community" rel="nofollow" accesskey="6" style="cursor: pointer; ">Community <img src="./Xin đổi giao diện cho code Java này_files/menu_open.gif" border="0" title="" alt=""></a> <script type="text/javascript"> vbmenu_register("community"); </script></td>
		
		<td class="vbmenu_control"><a href="http://congdongjava.com/calendar.php">Lịch</a></td>
		
			
				
				<td class="vbmenu_control"><a href="http://congdongjava.com/search.php?do=getdaily" accesskey="2">Bài Trong Ngày</a></td>
				
				<td class="vbmenu_control"><a id="navbar_search" href="http://congdongjava.com/search.php" accesskey="4" rel="nofollow">Tìm Kiếm</a> </td>
			
			
		
		
		
		</tr>
	</tbody></table>
</div>
<!-- / nav buttons bar -->

<br>






<!-- NAVBAR POPUP MENUS -->

	
	<!-- community link menu -->
	<div class="vbmenu_popup" id="community_menu" style="display:none;margin-top:3px" align="left">
		<table cellpadding="4" cellspacing="1" border="0">
		<tbody><tr><td class="thead">Community Links</td></tr>
		
		
		
		
		
			<tr><td class="vbmenu_option"><a href="http://congdongjava.com/memberlist.php">Thành Viên</a></td></tr>
		
		
		</tbody></table>
	</div>
	<!-- / community link menu -->
	
	
	
	<!-- header quick search form -->
	<div class="vbmenu_popup" id="navbar_search_menu" style="display:none;margin-top:3px" align="left">
		<table cellpadding="4" cellspacing="1" border="0">
		<tbody><tr>
			<td class="thead">Kiếm Trong Diễn Ðàn</td>
		</tr>
		<tr>
			<td class="vbmenu_option" title="nohilite">
				<form action="http://congdongjava.com/search.php?do=process" method="post">

					<input type="hidden" name="do" value="process">
					<input type="hidden" name="quicksearch" value="1">
					<input type="hidden" name="childforums" value="1">
					<input type="hidden" name="exactname" value="1">
					<input type="hidden" name="s" value="">
					<input type="hidden" name="securitytoken" value="guest">
					<div><input type="text" class="bginput" name="query" size="25" tabindex="1001"><input type="submit" class="button" value="Tiếp Tục" tabindex="1004"></div>
					<div style="margin-top:5px">
						<label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked">Hiển thị Chủ đề</label>
						&nbsp;
						<label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003">Hiển thị Bài viết</label>
					</div>
				</form>
			</td>
		</tr>
		
		<tr>
			<td class="vbmenu_option"><a href="http://congdongjava.com/tags.php" rel="nofollow">Tag Search</a></td>
		</tr>
		
		<tr>
			<td class="vbmenu_option"><a href="http://congdongjava.com/search.php" accesskey="4" rel="nofollow">Kiếm Chi Tiết</a></td>
		</tr>
		<tr>
	<td class="vbmenu_option"><a href="http://congdongjava.com/post_thanks.php?do=findallthanks">Find All Thanked Posts</a></td>
</tr>
		</tbody></table>
	</div>
	<!-- / header quick search form -->
	
	
	
<!-- / NAVBAR POPUP MENUS -->

<!-- PAGENAV POPUP -->
	<div class="vbmenu_popup" id="pagenav_menu" style="display:none">
		<table cellpadding="4" cellspacing="1" border="0">
		<tbody><tr>
			<td class="thead" nowrap="nowrap">Nhảy đến trang...</td>
		</tr>
		<tr>
			<td class="vbmenu_option" title="nohilite">
			<form action="http://congdongjava.com/index.php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
				<input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4">
				<input type="button" class="button" id="pagenav_ibtn" value="Tiếp Tục">
			</form>
			</td>
		</tr>
		</tbody></table>
	</div>
<!-- / PAGENAV POPUP -->






<table class="tborder" cellpadding="5" cellspacing="1" border="0" width="100%" align="center">
  <tbody><tr>
    <td class="tcat"><a style="float:right" href="http://congdongjava.com/showthread.php?t=7890#top" onclick="return toggle_collapse(&#39;latestnews&#39;)"><img id="collapseimg_latestnews" src="./Xin đổi giao diện cho code Java này_files/collapse_tcat.gif" alt="" border="0"></a>Thông báo mới nhất</td>
 </tr>
</tbody><tbody id="collapseobj_latestnews" style="">
  <tr>
    <td class="alt1"><center>
<p>Tinh thần cộng đồng: <b>Cho để nhận nhiều hơn.</b><br>
<b><font color="#0000FF">Chung tay xây dựng </font>
<a href="http://congdongjava.com/index.php#jexample">thư viện ví dụ căn bản</a><font color="#0000FF"> 
để java thật sự đơn giản</font></b><font color="#0000FF"><br>
</font><a href="http://congdongjava.com/showthread.php?t=2269">
<font size="3" color="green"><strong>Quy tắc hỗ trợ khi hoạt động trên cộng đồng 
java</strong></font></a> <br>
<br>
<a href="http://congdongjava.com/showthread.php?t=1497%22">
<font size="3" color="grey"><strong>Lập trình các dự án, phần mềm Java</strong></font></a>
<br>
</p>
<hr></center>
<table border="0" width="100%" id="table1">
	<tbody><tr>
		<td>
		<p align="center">
		<a href="http://congdongjava.com/showthread.php?t=9553">
		<img width="300" height="120" src="./Xin đổi giao diện cho code Java này_files/robocode_logo_tanks.png" alt="robocode_logo_tanks" border="0" title="robocode_logo_tanks"></a><br>
		<marquee width="300" height="30"><b><a href="http://congdongjava.com/showthread.php?t=9553"><font color="#0000FF" size="4">ROBOCODE 
		– Trò chơi dành cho người đam mê Java</font></a></b></marquee></p>
		</td>
		<td>
		<p align="center">
		<a href="http://congdongjava.com/forumdisplay.php?f=94">
		<img width="300" height="120" src="./Xin đổi giao diện cho code Java này_files/texttocodedescryption.gif" alt="Text 
		To Code Decryption" border="0" title="Text 
		To Code Decryption"></a><br>
		<marquee width="300" height="30"><b><a href="http://congdongjava.com/forumdisplay.php?f=94"><font color="#0000FF" size="4">Text To Code Decryption – Lập trình giải mã với Java</font></a></b></marquee>
		</p>
		</td>
	</tr>
</tbody></table></td>
  </tr>
  </tbody>
</table>
<br>


<table class="tborder" width="100%" border="0" cellpadding="4" cellspacing="0">
  <tbody><tr>
    <td class="tcat"><a style="float:right" href="http://congdongjava.com/showthread.php?t=7890#top" onclick="return toggle_collapse(&#39;latenews&#39;)"><img id="collapseimg_latenews" src="./Xin đổi giao diện cho code Java này_files/collapse_tcat.gif" alt="" border="0"></a>Latest News</td>
 </tr>
</tbody><tbody id="collapseobj_latenews" style="">
  <tr>
   <td class="thead">Thông báo mới</td>
  </tr>
  <tr>
    <td class="alt1">Chào mừng các bạn đến với Cộng Đồng Java Việt Nam, nơi giao lưu học hỏi thư giãn của những tin đồ Java và Công nghệ. Tất cả những gì bạn cần về Java.<br>Hãy đăng ký thành viên ngay hôm nay để nhận được nhiều ưu đãi hơn !</td>
  </tr>
  </tbody>
</table>

<div id="cse" style="width: 100%;"><div class="gsc-control-cse gsc-control-cse-en" dir="ltr"><form class="gsc-search-box" accept-charset="utf-8"><table cellspacing="0" cellpadding="0" class="gsc-search-box"><tbody><tr><td class="gsc-input"><input autocomplete="off" type="text" size="10" class=" gsc-input" name="search" title="search" style="background-image: url(http://www.google.com/cse/intl/en/images/google_custom_search_watermark.gif); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); background-position: 0% 50%; background-repeat: no-repeat no-repeat; "></td><td class="gsc-search-button"><input type="submit" value="Search" class="gsc-search-button" title="search"></td><td class="gsc-clear-button"><div class="gsc-clear-button" title="clear results">&nbsp;</div></td></tr></tbody></table><table cellspacing="0" cellpadding="0" class="gsc-branding"><tbody><tr><td class="gsc-branding-user-defined"></td><td class="gsc-branding-text"><div class="gsc-branding-text">powered by</div></td><td class="gsc-branding-img"><img src="./Xin đổi giao diện cho code Java này_files/small-logo.png" class="gsc-branding-img"></td></tr></tbody></table></form><div class="gsc-tabsAreaInvisible"><div class="gsc-tabHeader gsc-tabhActive">Custom Search</div><span class="gs-spacer"> </span></div><div class="gsc-tabsAreaInvisible"></div><div class="gsc-adBlockInvisible"></div><div class="gsc-wrapper"><div class="gsc-adBlockInvisible"></div><div class="gsc-resultsbox-invisible"><div class="gsc-resultsRoot gsc-tabData gsc-tabdActive"><table cellspacing="0" cellpadding="0" class="gsc-resultsHeader"><tbody><tr><td class="gsc-twiddleRegionCell"><div class="gsc-twiddle"><div class="gsc-title">Web</div></div><div class="gsc-stats"></div><div class="gsc-results-selector gsc-all-results-active"><div class="gsc-result-selector gsc-one-result" title="show one result">&nbsp;</div><div class="gsc-result-selector gsc-more-results" title="show more results">&nbsp;</div><div class="gsc-result-selector gsc-all-results" title="show all results">&nbsp;</div></div></td><td class="gsc-configLabelCell"></td></tr></tbody></table><div class="gsc-results gsc-webResult"></div></div></div><div id="gsc-loading-id" style="display: none; ">Loading...</div></div></div></div>
<script src="./Xin đổi giao diện cho code Java này_files/jsapi" type="text/javascript"></script>
<script type="text/javascript"> 
  google.load('search', '1', {language : 'en', style : google.loader.themes.SHINY});
  google.setOnLoadCallback(function() {
    var customSearchControl = new google.search.CustomSearchControl('011263251926456064517:gwmdcn098he');
    customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
    customSearchControl.draw('cse');
  }, true);
</script><script src="./Xin đổi giao diện cho code Java này_files/saved_resource(1)" type="text/javascript"></script><link href="./Xin đổi giao diện cho code Java này_files/default+en.css" type="text/css" rel="stylesheet"><link href="./Xin đổi giao diện cho code Java này_files/shiny.css" type="text/css" rel="stylesheet"><script src="./Xin đổi giao diện cho code Java này_files/default+en.I.js" type="text/javascript"></script>

<style type="text/css">
  .gsc-control-cse {
    font-family: Verdana, sans-serif;
    border-color: #DAE0E5;
    background-color: #DAE0E5;
  }
  input.gsc-input {
    border-color: #8A99A6;
  }
  input.gsc-search-button {
    border-color: #8A99A6;
    background-color: #D0D1D4;
  }
  .gsc-tabHeader.gsc-tabhInactive {
    border-color: #B2BDC6;
    background-color: #B2BDC6;
  }
  .gsc-tabHeader.gsc-tabhActive {
    border-color: #8A99A6;
    background-color: #8A99A6;
  }
  .gsc-tabsArea {
    border-color: #8A99A6;
  }
  .gsc-webResult.gsc-result {
    border-color: #FFFFFF;
    background-color: #FFFFFF;
  }
  .gsc-webResult.gsc-result:hover {
    border-color: #D2D6DC;
    background-color: #EDEDED;
  }
  .gs-webResult.gs-result a.gs-title:link,
  .gs-webResult.gs-result a.gs-title:link b {
    color: #0568CD;
  }
  .gs-webResult.gs-result a.gs-title:visited,
  .gs-webResult.gs-result a.gs-title:visited b {
    color: #0568CD;
  }
  .gs-webResult.gs-result a.gs-title:hover,
  .gs-webResult.gs-result a.gs-title:hover b {
    color: #0568CD;
  }
  .gs-webResult.gs-result a.gs-title:active,
  .gs-webResult.gs-result a.gs-title:active b {
    color: #0568CD;
  }
  .gsc-cursor-page {
    color: #0568CD;
  }
  a.gsc-trailing-more-results:link {
    color: #0568CD;
  }
  .gs-webResult.gs-result .gs-snippet {
    color: #5F6A73;
  }
  .gs-webResult.gs-result .gs-visibleUrl {
    color: #5F6A73;
  }
  .gs-webResult.gs-result .gs-visibleUrl-short {
    color: #5F6A73;
  }
  .gs-webResult.gs-result .gs-visibleUrl-short {
    display: none;
  }
  .gs-webResult.gs-result .gs-visibleUrl-long {
    display: block;
  }
  .gsc-cursor-box {
    border-color: #FFFFFF;
  }
  .gsc-results .gsc-cursor-page {
    border-color: #B2BDC6;
    background-color: #FFFFFF;
  }
  .gsc-results .gsc-cursor-page.gsc-cursor-current-page {
    border-color: #8A99A6;
    background-color: #8A99A6;
  }
  .gs-promotion.gs-result {
    border-color: #D2D6DC;
    background-color: #D0D1D4;
  }
  .gs-promotion.gs-result a.gs-title:link {
    color: #0066CC;
  }
  .gs-promotion.gs-result a.gs-title:visited {
    color: #0066CC;
  }
  .gs-promotion.gs-result a.gs-title:hover {
    color: #0066CC;
  }
  .gs-promotion.gs-result a.gs-title:active {
    color: #0066CC;
  }
  .gs-promotion.gs-result .gs-snippet {
    color: #333333;
  }
  .gs-promotion.gs-result .gs-visibleUrl,
  .gs-promotion.gs-result .gs-visibleUrl-short {
    color: #5F6A73;
  }
</style>
      
 




<a name="poststop" id="poststop"></a>

<!-- controls above postbits -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tbody><tr valign="bottom">
	
		<td class="smallfont"><a href="http://congdongjava.com/newreply.php?do=newreply&noquote=1&p=17178" rel="nofollow"><img src="./Xin đổi giao diện cho code Java này_files/reply.gif" alt="Trả lời" border="0" title="Trả lời"></a></td>
	
	
</tr>
</tbody></table>
<!-- / controls above postbits -->

<!-- toolbar -->
<table class="tborder" cellpadding="5" cellspacing="1" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tbody><tr>
	<td class="tcat" width="100%">
		<div class="smallfont">
		
		&nbsp;
		</div>
	</td>
	<td class="vbmenu_control" id="threadtools" nowrap="nowrap" style="cursor: pointer; ">
		<a href="http://congdongjava.com/showthread.php?t=7890&nojs=1#goto_threadtools">Ðiều Chỉnh</a>
		<script type="text/javascript"> vbmenu_register("threadtools"); </script> <img src="./Xin đổi giao diện cho code Java này_files/menu_open.gif" border="0" title="" alt="">
	</td>
	
	
	
	<td class="vbmenu_control" id="displaymodes" nowrap="nowrap" style="cursor: pointer; ">
		<a href="http://congdongjava.com/showthread.php?t=7890&nojs=1#goto_displaymodes">Xếp Bài</a>
		<script type="text/javascript"> vbmenu_register("displaymodes"); </script> <img src="./Xin đổi giao diện cho code Java này_files/menu_open.gif" border="0" title="" alt="">
	</td>
	

	

</tr>
</tbody></table>
<!-- / toolbar -->



<!-- end content table -->

		</div>
	</div>
</div>

<!-- / close content container -->
<!-- / end content table -->





<div id="posts"><!-- post #17178 -->

	<!-- open content container -->

<div align="center">
	<div class="page" style="width:950px; text-align:left">
		<div style="padding:0px 10px 0px 10px" align="left">

	<div id="edit17178" style="padding:0px 0px 5px 0px">
	<!-- this is not the last post shown on the page -->



<table class="tborder" id="post17178" cellpadding="5" cellspacing="1" border="0" width="100%" align="center">
<tbody><tr>
	<td class="thead">
		<div class="normal" style="float:right">
			&nbsp;
			#<a href="http://congdongjava.com/showpost.php?p=17178&postcount=1" target="new" rel="nofollow" id="postcount17178" name="1"><strong>1</strong></a> &nbsp;
			
			
			
			
			
		</div>

		<div class="normal">
			<!-- status icon and date -->
			<a name="post17178"><img class="inlineimg" src="./Xin đổi giao diện cho code Java này_files/post_old.gif" alt="Cũ" border="0" title="Cũ"></a>
			
				09-05-2011, 12:57 PM
			
			
			<!-- / status icon and date -->
		</div>
	</td>
</tr>
<tr>
	<td class="alt2" style="padding:0px">
		<!-- user info -->
		<table cellpadding="0" cellspacing="5" border="0" width="100%">
		<tbody><tr>
			<td class="alt2"><a href="http://congdongjava.com/member.php?u=5844"><img src="./Xin đổi giao diện cho code Java này_files/noavatar.gif" alt="nmthang.lp&#39;s Avatar" border="0" title="nmthang.lp&#39;s Avatar"></a></td>
			<td nowrap="nowrap">

				<div id="postmenu_17178">
					
					<a class="bigusername" href="http://congdongjava.com/member.php?u=5844"><img src="./Xin đổi giao diện cho code Java này_files/member.gif" border="0">nmthang.lp</a>
					<img class="inlineimg" src="./Xin đổi giao diện cho code Java này_files/user_offline.gif" alt="nmthang.lp is offline" border="0" title="nmthang.lp is offline">


					<script type="text/javascript"> vbmenu_register("postmenu_17178", true); </script>
					
				</div>

				<div class="smallfont">Café đen không đường</div>
				
				

			</td>
			<td width="100%">&nbsp;</td>
			<td valign="top" nowrap="nowrap">

				<div class="smallfont">
					<div>Tham gia ngày: May 2011</div>
					
					
					<div>
						Bài gửi: 5
					</div>
					 
	<div>Thanks: 2</div>
	<div>
		
			
				Thanked 0 Times in 0 Posts
			
		
	</div>

					
					
					
					<div>    </div>
				</div>

			</td>
		</tr>
		</tbody></table>
		<!-- / user info -->
	</td>
</tr>
<tr>
	
	<td class="alt1" id="td_post_17178">
		
	<!-- message, attachments, sig -->

		

		
			<!-- icon and title -->
			<div class="smallfont">
				<img class="inlineimg" src="./Xin đổi giao diện cho code Java này_files/icon1.gif" alt="Default" border="0" title="Default">
				<strong>Xin đổi giao diện cho code Java này</strong>
			</div>
			<hr size="1" style="color:#FFFFFF; background-color:#FFFFFF">
			<!-- / icon and title -->
		

		<!-- message -->
		<div id="post_message_17178">
			
			Mình muốn đổi skin cho các button trong Java caculator này thì phải làm thế nào? Và thêm cả Menu File &gt; about và File&gt; exit nữa.<br>
Mong các bạn giúp đỡ,  mình là newbie Java. Cám ơn các bạn rất nhiều<br>
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Mã:</div>
	<pre class="alt2" dir="ltr" style="
		margin: 0px;
		padding: 5px;
		border: 1px inset;
		width: 640px;
		height: 498px;
		text-align: left;
		overflow: auto">   /**
     * Ho va ten: Nguyen Minh Thang
     * Lop: 10T1LTH2 - Truong DHBK - Lien thong o Hue
     */


import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Container;
import java.awt.FlowLayout;
import java.awt.Font;
import java.awt.GridLayout;
import java.awt.Window;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;

import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
import javax.swing.JPanel;
import javax.swing.JTextArea;
import javax.swing.KeyStroke;

import java.awt.*;
import java.awt.event.*;
import java.lang.Math;
 public class Nguyen_MinhThang_10T1LTH2 extends Frame implements ActionListener
{
	
	private boolean operatorState; 
	private int operator; 
	private float oldIterator; 
	private Label lbl;
	private Panel pnl;
	private Button nut0, nut1, nut2, nut3, nut4, nut5, nut6, nut7, nut8, nut9, nutLuythua, nutC, nutcong, nuttru, nutnhan, nutchia, nutdcham, nutcbhai, nutngdao, nutResult;
	private JMenu jmenuFile, jmenuHelp;
	private JMenuItem jmenuitemExit, jmenuitemAbout;
		
	public Nguyen_MinhThang_10T1LTH2()
					{
		super("JAVA CALCULATOR");
		this.setSize(300, 270);
		this.setResizable(false); 
		this.setLayout(null);  
	lbl = new Label("0");
 	lbl.setAlignment(2);
 	lbl.setSize(270, 20);
 	lbl.setLocation(5, 25);
 		this.add(lbl);
 

 	Panel pnl = new Panel();
 	pnl.setSize(290, 212);
 	pnl.setLocation(5, 55);
	pnl.setLayout(new GridLayout(4, 5)); 
 		this.add(pnl);
 
 	nut7= new Button("7");
 	nut7.addActionListener(this);  
	pnl.add(nut7);
 
 	nut8 = new Button("8"); 
 	nut8.addActionListener(this);
 	pnl.add(nut8);
 
 	nut9 = new Button("9"); 
 	nut9.addActionListener(this);
 	pnl.add(nut9);
 
 	nutcong = new Button("+"); 
 	nutcong.addActionListener(this);
	pnl.add(nutcong);
 
 
 	nutcbhai = new Button("SQRT"); 	
  	nutcbhai.addActionListener(this);
	pnl.add(nutcbhai);
 
 
 	nut4 = new Button("4"); 
 	nut4.addActionListener(this);
 	pnl.add(nut4);
 
 	nut5 = new Button("5"); 
 	nut5.addActionListener(this);
 	pnl.add(nut5);
 
 	nut6 = new Button("6"); 
 	nut6.addActionListener(this);
	pnl.add(nut6);
 
 	nuttru = new Button("-"); 
	nuttru.addActionListener(this);
 	pnl.add(nuttru);
 
 
 	nutLuythua = new Button("x^y"); 
 	nutLuythua.addActionListener(this);
	pnl.add(nutLuythua);
 
 
	nut1 = new Button("1"); 
 	nut1.addActionListener(this);
 	pnl.add(nut1);
 
 	nut2 = new Button("2");  
 	nut2.addActionListener(this);
 	pnl.add(nut2);
 
 	nut3 = new Button("3"); 
 	nut3.addActionListener(this);
	pnl.add(nut3);
 
 	nutnhan = new Button("*");
 	nutnhan.addActionListener(this);
 	pnl.add(nutnhan);
 
 
 	nutngdao = new Button("1/x"); 
 	nutngdao.addActionListener(this);
 	pnl.add(nutngdao);
 
 
 	nut0 = new Button("0"); 
 	nut0.addActionListener(this);
 	pnl.add(nut0);
 
 	nutdcham = new Button("."); 
 	nutdcham.addActionListener(this);
 	pnl.add(nutdcham);
  
 	nutC = new Button("C"); 
 	nutC.addActionListener(this);
 	pnl.add(nutC);
   
  	nutchia = new Button("/");
 	nutchia.addActionListener(this);
  	pnl.add(nutchia);
    
 	nutResult = new Button("="); 
  	nutResult.addActionListener(this);
  	pnl.add(nutResult);
 	 nutResult.setForeground(Color.blue);
   		  operatorState = true;
  		  operator = -1;
		  oldIterator = 0;
  this.addWindowListener(new WindowAdapter()
  {
  	public void windowClosing(WindowEvent e)
  	{	System.exit(0);
  		}
  			}	);
  	}
    public void actionPerformed(ActionEvent ae)
    	
  {	
  	float result;
  	float newIterator = Float.parseFloat(lbl.getText());
  	if(ae.getSource() == nutResult)
  	{
  			switch(operator)
  				{
  				case 0:
  				result = oldIterator + newIterator;
  				lbl.setText(String.valueOf(result));
  				break;
  			
  				case 1:
  				result = oldIterator - newIterator;
  				lbl.setText(String.valueOf(result));
  				break;
  		
  				case 2:
  				result = oldIterator * newIterator;
  				lbl.setText(String.valueOf(result));
  				break;
  		
  				case 3:
  				if(newIterator != 0){result = oldIterator/newIterator;
  				lbl.setText(String.valueOf(result));}
  				break;
  		
  				case 4:
  				result = (float)Math.pow(oldIterator, newIterator);
  				lbl.setText(String.valueOf(result));
  				break;
  		}
  		
  			operator = -1;
  			operatorState = true;
  			return;
  		  }
  				if(ae.getSource() == nutngdao){
  					newIterator = Float.parseFloat(lbl.getText());
  				if(newIterator != 0){
  				result = (float)1/newIterator;
  				lbl.setText(String.valueOf(result));
  			}
  	operator = -1;
  	operatorState = true;
  	return;
  		}
  		if(ae.getSource() == nutcbhai){
  			newIterator = Float.parseFloat(lbl.getText());
  		if(newIterator &gt;= 0){
  			result = (float)Math.sqrt(newIterator);
  			lbl.setText(String.valueOf(result));
  			}
  	operator = -1;
  	operatorState = true;
  	return;
  		}
  	if(ae.getSource() == nutdcham){
  	lbl.setText(lbl.getText() + ".");
  	return;
  		}
  	if(ae.getSource() == nutcong) { 
  	operator = 0;
  	operatorState = true;
  	oldIterator = Float.parseFloat(lbl.getText());
 	 return;
 	  }
  	if(ae.getSource() == nuttru)
  	{ operator = 1;
  	operatorState = true;
  	oldIterator = Float.parseFloat(lbl.getText());
  	return;
  	 }
  	if(ae.getSource() == nutnhan){
  		operator = 2;
 		 operatorState = true;
 		 oldIterator = Float.parseFloat(lbl.getText());
  		return;
  	}
  	if(ae.getSource() == nutdcham){operator = 3;
  	operatorState = true;
  	oldIterator = Float.parseFloat(lbl.getText());
  	return;
  		}
  	if(ae.getSource() == nutLuythua){
  		operator = 4;
  		operatorState = true;
  		oldIterator = Float.parseFloat(lbl.getText());
  			return;
  		}
  	if(ae.getSource() == nutC){
  		operator = -1;
  	operatorState = true;
  	oldIterator = 0;
  	lbl.setText("0");
  	return;
  	}
    if(operatorState){
  	  lbl.setText(ae.getActionCommand());
  operatorState = false;}
  else 
 	lbl.setText(lbl.getText() + ae.getActionCommand());
	}
	
	class CustomABOUTDialog extends JDialog implements ActionListener {
	JButton jbnOk;

	CustomABOUTDialog(JFrame parent, String title, boolean modal){
		super(parent, title, modal);
		setBackground(Color.black);
		
		JPanel p1 = new JPanel(new FlowLayout(FlowLayout.CENTER));

		StringBuffer text = new StringBuffer();
		text.append("Thong tin co ban\n\n");
		text.append("Thiet ke:	Nguyen Minh Thang\n");
			
		JTextArea jtAreaAbout = new JTextArea(5, 21);
		jtAreaAbout.setText(text.toString());
		jtAreaAbout.setFont(new Font("Times New Roman", 1, 13));
		jtAreaAbout.setEditable(false);

		p1.add(jtAreaAbout);
		p1.setBackground(Color.red);
		getContentPane().add(p1, BorderLayout.CENTER);

		JPanel p2 = new JPanel(new FlowLayout(FlowLayout.CENTER));
		jbnOk = new JButton(" OK ");
		jbnOk.addActionListener(this);

		p2.add(jbnOk);
		getContentPane().add(p2, BorderLayout.SOUTH);

		setLocation(408, 270);
		setResizable(false);

		addWindowListener(new WindowAdapter() {
				public void windowClosing(WindowEvent e)
				{
					Window aboutDialog = e.getWindow();
					aboutDialog.dispose();
				}
			}
		);

		pack();
	}

	public void actionPerformed(ActionEvent e)
	{
		if(e.getSource() == jbnOk)	{
			this.dispose();
		}
	}
	
}
public static void main(String[] args)
 {
   Nguyen_MinhThang_10T1LTH2 myFrame = new Nguyen_MinhThang_10T1LTH2();
 	myFrame.setVisible(true);
 	   }
 	 }</pre>
</div>
</div>
		
		<!-- / message -->

		

		
		

		

		

		

		<div style="margin-top: 10px" align="right">
			<!-- controls -->
			
			
			
				<a href="http://congdongjava.com/newreply.php?do=newreply&p=17178" rel="nofollow"><img src="./Xin đổi giao diện cho code Java này_files/quote.gif" alt="Trả Lời Với Trích Dẫn" border="0" title="Trả Lời Với Trích Dẫn"></a>
			
			
			
			
			
			
			
				
			
			
			<!-- / controls -->
		</div>

	<!-- message, attachments, sig -->

	</td>
</tr>
</tbody></table>
 <div id="post_thanks_box_17178"></div>

<!-- post 17178 popup menu -->
<div class="vbmenu_popup" id="postmenu_17178_menu" style="display:none;">
	<table cellpadding="4" cellspacing="1" border="0">
	<tbody><tr>
		<td class="thead">nmthang.lp</td>
	</tr>
	
		<tr><td class="vbmenu_option"><a href="http://congdongjava.com/member.php?u=5844">Xem hồ sơ</a></td></tr>
	
	
		<tr><td class="vbmenu_option"><a href="http://congdongjava.com/private.php?do=newpm&u=5844" rel="nofollow">Gửi nhắn tin tới nmthang.lp</a></td></tr>
	
	
	
	
		<tr><td class="vbmenu_option"><a href="http://congdongjava.com/search.php?do=finduser&u=5844" rel="nofollow">Tìm bài gửi bởi nmthang.lp</a></td></tr>
	
	
	
	</tbody></table>
</div>
<!-- / post 17178 popup menu -->



	</div>
	
		</div>
	</div>
</div>

<!-- / close content container -->

<!-- / post #17178 -->
 <!-- open content container -->

<div align="center">
	<div class="page" style="width:950px; text-align:left">
		<div style="padding:0px 10px 0px 10px" align="left">

 <div style="padding:0px 0px 5px 0px">
 
 <table class="tborder" cellpadding="5" cellspacing="1" border="0" width="100%" <td="" align="center">
 <tbody><tr>
 <td class="thead" align="left">Quảng cáo</td>
 </tr>
 <tr>
 <td class="alt1" align="center">
Đặt quảng cáo tại đây - Liên hệ SĐT: 0977118083
<br>
 </td>
 
 </tr>
 </tbody></table>
 
 </div>
 
		</div>
	</div>
</div>

<!-- / close content container -->
 
 

<!-- post #17181 -->

	<!-- open content container -->

<div align="center">
	<div class="page" style="width:950px; text-align:left">
		<div style="padding:0px 10px 0px 10px" align="left">

	<div id="edit17181" style="padding:0px 0px 5px 0px">
	<!-- this is not the last post shown on the page -->



<table class="tborder" id="post17181" cellpadding="5" cellspacing="1" border="0" width="100%" align="center">
<tbody><tr>
	<td class="thead">
		<div class="normal" style="float:right">
			&nbsp;
			#<a href="http://congdongjava.com/showpost.php?p=17181&postcount=2" target="new" rel="nofollow" id="postcount17181" name="2"><strong>2</strong></a> &nbsp;
			
			
			
			
			
		</div>

		<div class="normal">
			<!-- status icon and date -->
			<a name="post17181"><img class="inlineimg" src="./Xin đổi giao diện cho code Java này_files/post_old.gif" alt="Cũ" border="0" title="Cũ"></a>
			
				09-05-2011, 01:46 PM
			
			
			<!-- / status icon and date -->
		</div>
	</td>
</tr>
<tr>
	<td class="alt2" style="padding:0px">
		<!-- user info -->
		<table cellpadding="0" cellspacing="5" border="0" width="100%">
		<tbody><tr>
			<td class="alt2"><a href="http://congdongjava.com/member.php?u=5844"><img src="./Xin đổi giao diện cho code Java này_files/noavatar.gif" alt="nmthang.lp&#39;s Avatar" border="0" title="nmthang.lp&#39;s Avatar"></a></td>
			<td nowrap="nowrap">

				<div id="postmenu_17181">
					
					<a class="bigusername" href="http://congdongjava.com/member.php?u=5844"><img src="./Xin đổi giao diện cho code Java này_files/member.gif" border="0">nmthang.lp</a>
					<img class="inlineimg" src="./Xin đổi giao diện cho code Java này_files/user_offline.gif" alt="nmthang.lp is offline" border="0" title="nmthang.lp is offline">


					<script type="text/javascript"> vbmenu_register("postmenu_17181", true); </script>
					
				</div>

				<div class="smallfont">Café đen không đường</div>
				
				

			</td>
			<td width="100%">&nbsp;</td>
			<td valign="top" nowrap="nowrap">

				<div class="smallfont">
					<div>Tham gia ngày: May 2011</div>
					
					
					<div>
						Bài gửi: 5
					</div>
					 
	<div>Thanks: 2</div>
	<div>
		
			
				Thanked 0 Times in 0 Posts
			
		
	</div>

					
					
					
					<div>    </div>
				</div>

			</td>
		</tr>
		</tbody></table>
		<!-- / user info -->
	</td>
</tr>
<tr>
	
	<td class="alt1" id="td_post_17181">
		
	<!-- message, attachments, sig -->

		

		
			<!-- icon and title -->
			<div class="smallfont">
				<img class="inlineimg" src="./Xin đổi giao diện cho code Java này_files/icon1.gif" alt="Default" border="0" title="Default">
				<strong>Ðề: Xin đổi giao diện cho code Java này</strong>
			</div>
			<hr size="1" style="color:#FFFFFF; background-color:#FFFFFF">
			<!-- / icon and title -->
		

		<!-- message -->
		<div id="post_message_17181">
			
			Chỉ dùm mình cách thay đổi mấy cái nút button cho thon và gọn hơn được ko? mình thấy nó tràn quá,xấu.cám ơn.
</div>
		
		<!-- / message -->

		

		
		

		

		

		

		<div style="margin-top: 10px" align="right">
			<!-- controls -->
			
			
			
				<a href="http://congdongjava.com/newreply.php?do=newreply&p=17181" rel="nofollow"><img src="./Xin đổi giao diện cho code Java này_files/quote.gif" alt="Trả Lời Với Trích Dẫn" border="0" title="Trả Lời Với Trích Dẫn"></a>
			
			
			
			
			
			
			
				
			
			
			<!-- / controls -->
		</div>

	<!-- message, attachments, sig -->

	</td>
</tr>
</tbody></table>
 <div id="post_thanks_box_17181"></div>

<!-- post 17181 popup menu -->
<div class="vbmenu_popup" id="postmenu_17181_menu" style="display:none;">
	<table cellpadding="4" cellspacing="1" border="0">
	<tbody><tr>
		<td class="thead">nmthang.lp</td>
	</tr>
	
		<tr><td class="vbmenu_option"><a href="http://congdongjava.com/member.php?u=5844">Xem hồ sơ</a></td></tr>
	
	
		<tr><td class="vbmenu_option"><a href="http://congdongjava.com/private.php?do=newpm&u=5844" rel="nofollow">Gửi nhắn tin tới nmthang.lp</a></td></tr>
	
	
	
	
		<tr><td class="vbmenu_option"><a href="http://congdongjava.com/search.php?do=finduser&u=5844" rel="nofollow">Tìm bài gửi bởi nmthang.lp</a></td></tr>
	
	
	
	</tbody></table>
</div>
<!-- / post 17181 popup menu -->



	</div>
	
		</div>
	</div>
</div>

<!-- / close content container -->

<!-- / post #17181 --><!-- post #17191 -->

	<!-- open content container -->

<div align="center">
	<div class="page" style="width:950px; text-align:left">
		<div style="padding:0px 10px 0px 10px" align="left">

	<div id="edit17191" style="padding:0px 0px 5px 0px">
	<!-- this is not the last post shown on the page -->



<table class="tborder" id="post17191" cellpadding="5" cellspacing="1" border="0" width="100%" align="center">
<tbody><tr>
	<td class="thead">
		<div class="normal" style="float:right">
			&nbsp;
			#<a href="http://congdongjava.com/showpost.php?p=17191&postcount=3" target="new" rel="nofollow" id="postcount17191" name="3"><strong>3</strong></a> &nbsp;
			
			
			
			
			
		</div>

		<div class="normal">
			<!-- status icon and date -->
			<a name="post17191"><img class="inlineimg" src="./Xin đổi giao diện cho code Java này_files/post_old.gif" alt="Cũ" border="0" title="Cũ"></a>
			
				09-05-2011, 02:44 PM
			
			
			<!-- / status icon and date -->
		</div>
	</td>
</tr>
<tr>
	<td class="alt2" style="padding:0px">
		<!-- user info -->
		<table cellpadding="0" cellspacing="5" border="0" width="100%">
		<tbody><tr>
			<td class="alt2"><a href="http://congdongjava.com/member.php?u=1217"><img src="./Xin đổi giao diện cho code Java này_files/image.php" width="80" height="53" alt="lamlonghau&#39;s Avatar" border="0" title="lamlonghau&#39;s Avatar"></a></td>
			<td nowrap="nowrap">

				<div id="postmenu_17191">
					
					<a class="bigusername" href="http://congdongjava.com/member.php?u=1217"><img src="./Xin đổi giao diện cho code Java này_files/member.gif" border="0">lamlonghau</a>
					<img class="inlineimg" src="./Xin đổi giao diện cho code Java này_files/user_offline.gif" alt="lamlonghau is offline" border="0" title="lamlonghau is offline">


					<script type="text/javascript"> vbmenu_register("postmenu_17191", true); </script>
					
				</div>

				<div class="smallfont">Café đen có đường</div>
				<div class="smallfont"><img src="./Xin đổi giao diện cho code Java này_files/cafe.png" alt="" border=""></div>
				

			</td>
			<td width="100%">&nbsp;</td>
			<td valign="top" nowrap="nowrap">

				<div class="smallfont">
					<div>Tham gia ngày: May 2010</div>
					<div>Đến từ: An Giang</div>
					
					<div>
						Bài gửi: 43
					</div>
					 
	<div>Thanks: 1</div>
	<div>
		
			
				Thanked 9 Times in 7 Posts
			
		
	</div>

					
					
					
					<div>    </div>
				</div>

			</td>
		</tr>
		</tbody></table>
		<!-- / user info -->
	</td>
</tr>
<tr>
	
	<td class="alt1" id="td_post_17191">
		
	<!-- message, attachments, sig -->

		

		
			<!-- icon and title -->
			<div class="smallfont">
				<img class="inlineimg" src="./Xin đổi giao diện cho code Java này_files/icon1.gif" alt="Default" border="0" title="Default">
				<strong>Ðề: Xin đổi giao diện cho code Java này</strong>
			</div>
			<hr size="1" style="color:#FFFFFF; background-color:#FFFFFF">
			<!-- / icon and title -->
		

		<!-- message -->
		<div id="post_message_17191">
			
			bạn sử dụng lookandfeel đi, cái này đẹp ah. Đây là code cho bạn tham khảo nà<br>
try {                <br>
                UIManager.setLookAndFeel("com.nilo.plaf.nimrod.Nim  RODLookAndFeel");<br>
                SwingUtilities.invokeLater(new Runnable() {<br>
                    public void run() {<br>
                        JFrame.setDefaultLookAndFeelDecorated(true);<br>
                    }<br>
                });<br>
            } catch (ClassNotFoundException ex) {<br>
                Logger.getLogger(Frame_main.class.getName()).log(L  evel.SEVERE, null, ex);<br>
            } catch (InstantiationException ex) {<br>
                Logger.getLogger(Frame_main.class.getName()).log(L  evel.SEVERE, null, ex);<br>
            } catch (IllegalAccessException ex) {<br>
                Logger.getLogger(Frame_main.class.getName()).log(L  evel.SEVERE, null, ex);<br>
            } catch (UnsupportedLookAndFeelException ex) {<br>
                Logger.getLogger(Frame_main.class.getName()).log(L  evel.SEVERE, null, ex);<br>
            }<br>
       initComponents();
</div>
		
		<!-- / message -->

		

		
		

		

		

		

		<div style="margin-top: 10px" align="right">
			<!-- controls -->
			
			
			
				<a href="http://congdongjava.com/newreply.php?do=newreply&p=17191" rel="nofollow"><img src="./Xin đổi giao diện cho code Java này_files/quote.gif" alt="Trả Lời Với Trích Dẫn" border="0" title="Trả Lời Với Trích Dẫn"></a>
			
			
			
			
			
			
			
				
			
			
			<!-- / controls -->
		</div>

	<!-- message, attachments, sig -->

	</td>
</tr>
</tbody></table>
 <div id="post_thanks_box_17191"><div style="padding:5px 0px 0px 0px">
	<table class="tborder" cellpadding="5" cellspacing="1" border="0" width="100%" align="center">
		<tbody><tr>
			<td class="alt2" style="padding:0px">
				
					<strong>The Following User Says Thank You to lamlonghau For This Useful Post:</strong>
				
			</td>
			
			
		</tr>
		<tr><td class="alt1" colspan="3"><div> <a href="http://congdongjava.com/member.php?u=5844" rel="nofollow"><img src="./Xin đổi giao diện cho code Java này_files/member.gif" border="0">nmthang.lp</a>&nbsp;(10-05-2011)</div></td></tr>
	</tbody></table>
</div></div>

<!-- post 17191 popup menu -->
<div class="vbmenu_popup" id="postmenu_17191_menu" style="display:none;">
	<table cellpadding="4" cellspacing="1" border="0">
	<tbody><tr>
		<td class="thead">lamlonghau</td>
	</tr>
	
		<tr><td class="vbmenu_option"><a href="http://congdongjava.com/member.php?u=1217">Xem hồ sơ</a></td></tr>
	
	
		<tr><td class="vbmenu_option"><a href="http://congdongjava.com/private.php?do=newpm&u=1217" rel="nofollow">Gửi nhắn tin tới lamlonghau</a></td></tr>
	
	
	
	
		<tr><td class="vbmenu_option"><a href="http://congdongjava.com/search.php?do=finduser&u=1217" rel="nofollow">Tìm bài gửi bởi lamlonghau</a></td></tr>
	
	
	
	</tbody></table>
</div>
<!-- / post 17191 popup menu -->



	</div>
	
		</div>
	</div>
</div>

<!-- / close content container -->

<!-- / post #17191 --><!-- post #17192 -->

	<!-- open content container -->

<div align="center">
	<div class="page" style="width:950px; text-align:left">
		<div style="padding:0px 10px 0px 10px" align="left">

	<div id="edit17192" style="padding:0px 0px 5px 0px">
	<!-- this is not the last post shown on the page -->



<table class="tborder" id="post17192" cellpadding="5" cellspacing="1" border="0" width="100%" align="center">
<tbody><tr>
	<td class="thead">
		<div class="normal" style="float:right">
			&nbsp;
			#<a href="http://congdongjava.com/showpost.php?p=17192&postcount=4" target="new" rel="nofollow" id="postcount17192" name="4"><strong>4</strong></a> &nbsp;
			
			
			
			
			
		</div>

		<div class="normal">
			<!-- status icon and date -->
			<a name="post17192"><img class="inlineimg" src="./Xin đổi giao diện cho code Java này_files/post_old.gif" alt="Cũ" border="0" title="Cũ"></a>
			
				09-05-2011, 03:11 PM
			
			
			<!-- / status icon and date -->
		</div>
	</td>
</tr>
<tr>
	<td class="alt2" style="padding:0px">
		<!-- user info -->
		<table cellpadding="0" cellspacing="5" border="0" width="100%">
		<tbody><tr>
			<td class="alt2"><a href="http://congdongjava.com/member.php?u=5844"><img src="./Xin đổi giao diện cho code Java này_files/noavatar.gif" alt="nmthang.lp&#39;s Avatar" border="0" title="nmthang.lp&#39;s Avatar"></a></td>
			<td nowrap="nowrap">

				<div id="postmenu_17192">
					
					<a class="bigusername" href="http://congdongjava.com/member.php?u=5844"><img src="./Xin đổi giao diện cho code Java này_files/member.gif" border="0">nmthang.lp</a>
					<img class="inlineimg" src="./Xin đổi giao diện cho code Java này_files/user_offline.gif" alt="nmthang.lp is offline" border="0" title="nmthang.lp is offline">


					<script type="text/javascript"> vbmenu_register("postmenu_17192", true); </script>
					
				</div>

				<div class="smallfont">Café đen không đường</div>
				
				

			</td>
			<td width="100%">&nbsp;</td>
			<td valign="top" nowrap="nowrap">

				<div class="smallfont">
					<div>Tham gia ngày: May 2011</div>
					
					
					<div>
						Bài gửi: 5
					</div>
					 
	<div>Thanks: 2</div>
	<div>
		
			
				Thanked 0 Times in 0 Posts
			
		
	</div>

					
					
					
					<div>    </div>
				</div>

			</td>
		</tr>
		</tbody></table>
		<!-- / user info -->
	</td>
</tr>
<tr>
	
	<td class="alt1" id="td_post_17192">
		
	<!-- message, attachments, sig -->

		

		
			<!-- icon and title -->
			<div class="smallfont">
				<img class="inlineimg" src="./Xin đổi giao diện cho code Java này_files/icon1.gif" alt="Default" border="0" title="Default">
				<strong>Ðề: Xin đổi giao diện cho code Java này</strong>
			</div>
			<hr size="1" style="color:#FFFFFF; background-color:#FFFFFF">
			<!-- / icon and title -->
		

		<!-- message -->
		<div id="post_message_17192">
			
			<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Trích:</div>
	<table cellpadding="5" cellspacing="0" border="0" width="100%">
	<tbody><tr>
		<td class="alt2" style="border:1px inset">
			
				<div>
					Nguyên văn bởi <strong>lamlonghau</strong>
					<a href="http://congdongjava.com/showthread.php?p=17191#post17191" rel="nofollow"><img class="inlineimg" src="./Xin đổi giao diện cho code Java này_files/viewpost.gif" border="0" alt="Xem bài gởi" title="Xem bài gởi"></a>
				</div>
				<div style="font-style:italic">bạn sử dụng lookandfeel đi, cái này đẹp ah. Đây là code cho bạn tham khảo nà<br>
try {                <br>
                UIManager.setLookAndFeel("com.nilo.plaf.nimrod.Nim  RODLookAndFeel");<br>
                SwingUtilities.invokeLater(new Runnable() {<br>
                    public void run() {<br>
                        JFrame.setDefaultLookAndFeelDecorated(true);<br>
                    }<br>
                });<br>
            } catch (ClassNotFoundException ex) {<br>
                Logger.getLogger(Frame_main.class.getName()).log(L  evel.SEVERE, null, ex);<br>
            } catch (InstantiationException ex) {<br>
                Logger.getLogger(Frame_main.class.getName()).log(L  evel.SEVERE, null, ex);<br>
            } catch (IllegalAccessException ex) {<br>
                Logger.getLogger(Frame_main.class.getName()).log(L  evel.SEVERE, null, ex);<br>
            } catch (UnsupportedLookAndFeelException ex) {<br>
                Logger.getLogger(Frame_main.class.getName()).log(L  evel.SEVERE, null, ex);<br>
            }<br>
       initComponents();</div>
			
		</td>
	</tr>
	</tbody></table>
</div>Cám ơn bạn,chèn vào chỗ nào đây bạn? mình gà java, newbie
</div>
		
		<!-- / message -->

		

		
		

		

		

		

		<div style="margin-top: 10px" align="right">
			<!-- controls -->
			
			
			
				<a href="http://congdongjava.com/newreply.php?do=newreply&p=17192" rel="nofollow"><img src="./Xin đổi giao diện cho code Java này_files/quote.gif" alt="Trả Lời Với Trích Dẫn" border="0" title="Trả Lời Với Trích Dẫn"></a>
			
			
			
			
			
			
			
				
			
			
			<!-- / controls -->
		</div>

	<!-- message, attachments, sig -->

	</td>
</tr>
</tbody></table>
 <div id="post_thanks_box_17192"></div>

<!-- post 17192 popup menu -->
<div class="vbmenu_popup" id="postmenu_17192_menu" style="display:none;">
	<table cellpadding="4" cellspacing="1" border="0">
	<tbody><tr>
		<td class="thead">nmthang.lp</td>
	</tr>
	
		<tr><td class="vbmenu_option"><a href="http://congdongjava.com/member.php?u=5844">Xem hồ sơ</a></td></tr>
	
	
		<tr><td class="vbmenu_option"><a href="http://congdongjava.com/private.php?do=newpm&u=5844" rel="nofollow">Gửi nhắn tin tới nmthang.lp</a></td></tr>
	
	
	
	
		<tr><td class="vbmenu_option"><a href="http://congdongjava.com/search.php?do=finduser&u=5844" rel="nofollow">Tìm bài gửi bởi nmthang.lp</a></td></tr>
	
	
	
	</tbody></table>
</div>
<!-- / post 17192 popup menu -->



	</div>
	
		</div>
	</div>
</div>

<!-- / close content container -->

<!-- / post #17192 --><!-- post #17200 -->

	<!-- open content container -->

<div align="center">
	<div class="page" style="width:950px; text-align:left">
		<div style="padding:0px 10px 0px 10px" align="left">

	<div id="edit17200" style="padding:0px 0px 5px 0px">
	<!-- this is not the last post shown on the page -->



<table class="tborder" id="post17200" cellpadding="5" cellspacing="1" border="0" width="100%" align="center">
<tbody><tr>
	<td class="thead">
		<div class="normal" style="float:right">
			&nbsp;
			#<a href="http://congdongjava.com/showpost.php?p=17200&postcount=5" target="new" rel="nofollow" id="postcount17200" name="5"><strong>5</strong></a> &nbsp;
			
			
			
			
			
		</div>

		<div class="normal">
			<!-- status icon and date -->
			<a name="post17200"><img class="inlineimg" src="./Xin đổi giao diện cho code Java này_files/post_old.gif" alt="Cũ" border="0" title="Cũ"></a>
			
				09-05-2011, 05:23 PM
			
			
			<!-- / status icon and date -->
		</div>
	</td>
</tr>
<tr>
	<td class="alt2" style="padding:0px">
		<!-- user info -->
		<table cellpadding="0" cellspacing="5" border="0" width="100%">
		<tbody><tr>
			<td class="alt2"><a href="http://congdongjava.com/member.php?u=5330"><img src="./Xin đổi giao diện cho code Java này_files/36_1_44.gif" alt="vh04782&#39;s Avatar" border="0" title="vh04782&#39;s Avatar"></a></td>
			<td nowrap="nowrap">

				<div id="postmenu_17200">
					
					<a class="bigusername" href="http://congdongjava.com/member.php?u=5330"><img src="./Xin đổi giao diện cho code Java này_files/member.gif" border="0">vh04782</a>
					<img class="inlineimg" src="./Xin đổi giao diện cho code Java này_files/user_offline.gif" alt="vh04782 is offline" border="0" title="vh04782 is offline">


					<script type="text/javascript"> vbmenu_register("postmenu_17200", true); </script>
					
				</div>

				<div class="smallfont">Café đen không đường</div>
				<div class="smallfont"><img src="./Xin đổi giao diện cho code Java này_files/cafe.png" alt="" border=""></div>
				

			</td>
			<td width="100%">&nbsp;</td>
			<td valign="top" nowrap="nowrap">

				<div class="smallfont">
					<div>Tham gia ngày: Apr 2011</div>
					
					
					<div>
						Bài gửi: 20
					</div>
					 
	<div>Thanks: 3</div>
	<div>
		
			
				Thanked 9 Times in 8 Posts
			
		
	</div>

					
					
					
					<div>    </div>
				</div>

			</td>
		</tr>
		</tbody></table>
		<!-- / user info -->
	</td>
</tr>
<tr>
	
	<td class="alt1" id="td_post_17200">
		
	<!-- message, attachments, sig -->

		

		
			<!-- icon and title -->
			<div class="smallfont">
				<img class="inlineimg" src="./Xin đổi giao diện cho code Java này_files/icon12.gif" alt="Wink" border="0" title="Wink">
				<strong>Ðề: Xin đổi giao diện cho code Java này</strong>
			</div>
			<hr size="1" style="color:#FFFFFF; background-color:#FFFFFF">
			<!-- / icon and title -->
		

		<!-- message -->
		<div id="post_message_17200">
			
			bạn có thể thay đôi dao diện java qua LookAndFeel. hoặc bạn có thể dow thư viện skill cho java ở đây.  <a href="http://geeknizer.com/best-java-swing-look-and-feel-themes-professional-casual-top-10/" target="_blank">http://geeknizer.com/best-java-swing...casual-top-10/</a> bạn add vao libraries trong packet của java. rồi cứ code như bình thường giao diện sẽ thay đổi theo skill bạn vừa add. Chúc bạn thành công! À nhớ SetLookAndFeel theo ten thư viện nhé có demo ở trang đó đấy.
</div>
		
		<!-- / message -->

		

		
		

		

		

		
		<!-- edit note -->
			<div class="smallfont">
				<hr size="1" style="color:#FFFFFF; background-color:#FFFFFF">
				<em>
					
						thay đổi nội dung bởi:<strong> vh04782</strong>,  09-05-2011 lúc <span class="time">05:34 PM</span>
					
					
				</em>
			</div>
		<!-- / edit note -->
		

		<div style="margin-top: 10px" align="right">
			<!-- controls -->
			
			
			
				<a href="http://congdongjava.com/newreply.php?do=newreply&p=17200" rel="nofollow"><img src="./Xin đổi giao diện cho code Java này_files/quote.gif" alt="Trả Lời Với Trích Dẫn" border="0" title="Trả Lời Với Trích Dẫn"></a>
			
			
			
			
			
			
			
				
			
			
			<!-- / controls -->
		</div>

	<!-- message, attachments, sig -->

	</td>
</tr>
</tbody></table>
 <div id="post_thanks_box_17200"></div>

<!-- post 17200 popup menu -->
<div class="vbmenu_popup" id="postmenu_17200_menu" style="display:none;">
	<table cellpadding="4" cellspacing="1" border="0">
	<tbody><tr>
		<td class="thead">vh04782</td>
	</tr>
	
		<tr><td class="vbmenu_option"><a href="http://congdongjava.com/member.php?u=5330">Xem hồ sơ</a></td></tr>
	
	
		<tr><td class="vbmenu_option"><a href="http://congdongjava.com/private.php?do=newpm&u=5330" rel="nofollow">Gửi nhắn tin tới vh04782</a></td></tr>
	
	
	
	
		<tr><td class="vbmenu_option"><a href="http://congdongjava.com/search.php?do=finduser&u=5330" rel="nofollow">Tìm bài gửi bởi vh04782</a></td></tr>
	
	
	
	</tbody></table>
</div>
<!-- / post 17200 popup menu -->



	</div>
	
		</div>
	</div>
</div>

<!-- / close content container -->

<!-- / post #17200 --><!-- post #17204 -->

	<!-- open content container -->

<div align="center">
	<div class="page" style="width:950px; text-align:left">
		<div style="padding:0px 10px 0px 10px" align="left">

	<div id="edit17204" style="padding:0px 0px 5px 0px">
	<!-- this is not the last post shown on the page -->



<table class="tborder" id="post17204" cellpadding="5" cellspacing="1" border="0" width="100%" align="center">
<tbody><tr>
	<td class="thead">
		<div class="normal" style="float:right">
			&nbsp;
			#<a href="http://congdongjava.com/showpost.php?p=17204&postcount=6" target="new" rel="nofollow" id="postcount17204" name="6"><strong>6</strong></a> &nbsp;
			
			
			
			
			
		</div>

		<div class="normal">
			<!-- status icon and date -->
			<a name="post17204"><img class="inlineimg" src="./Xin đổi giao diện cho code Java này_files/post_old.gif" alt="Cũ" border="0" title="Cũ"></a>
			
				09-05-2011, 07:36 PM
			
			
			<!-- / status icon and date -->
		</div>
	</td>
</tr>
<tr>
	<td class="alt2" style="padding:0px">
		<!-- user info -->
		<table cellpadding="0" cellspacing="5" border="0" width="100%">
		<tbody><tr>
			<td class="alt2"><a href="http://congdongjava.com/member.php?u=5844"><img src="./Xin đổi giao diện cho code Java này_files/noavatar.gif" alt="nmthang.lp&#39;s Avatar" border="0" title="nmthang.lp&#39;s Avatar"></a></td>
			<td nowrap="nowrap">

				<div id="postmenu_17204">
					
					<a class="bigusername" href="http://congdongjava.com/member.php?u=5844"><img src="./Xin đổi giao diện cho code Java này_files/member.gif" border="0">nmthang.lp</a>
					<img class="inlineimg" src="./Xin đổi giao diện cho code Java này_files/user_offline.gif" alt="nmthang.lp is offline" border="0" title="nmthang.lp is offline">


					<script type="text/javascript"> vbmenu_register("postmenu_17204", true); </script>
					
				</div>

				<div class="smallfont">Café đen không đường</div>
				
				

			</td>
			<td width="100%">&nbsp;</td>
			<td valign="top" nowrap="nowrap">

				<div class="smallfont">
					<div>Tham gia ngày: May 2011</div>
					
					
					<div>
						Bài gửi: 5
					</div>
					 
	<div>Thanks: 2</div>
	<div>
		
			
				Thanked 0 Times in 0 Posts
			
		
	</div>

					
					
					
					<div>    </div>
				</div>

			</td>
		</tr>
		</tbody></table>
		<!-- / user info -->
	</td>
</tr>
<tr>
	
	<td class="alt1" id="td_post_17204">
		
	<!-- message, attachments, sig -->

		

		
			<!-- icon and title -->
			<div class="smallfont">
				<img class="inlineimg" src="./Xin đổi giao diện cho code Java này_files/icon1.gif" alt="Default" border="0" title="Default">
				<strong>Ðề: Xin đổi giao diện cho code Java này</strong>
			</div>
			<hr size="1" style="color:#FFFFFF; background-color:#FFFFFF">
			<!-- / icon and title -->
		

		<!-- message -->
		<div id="post_message_17204">
			
			<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Trích:</div>
	<table cellpadding="5" cellspacing="0" border="0" width="100%">
	<tbody><tr>
		<td class="alt2" style="border:1px inset">
			
				<div>
					Nguyên văn bởi <strong>vh04782</strong>
					<a href="http://congdongjava.com/showthread.php?p=17200#post17200" rel="nofollow"><img class="inlineimg" src="./Xin đổi giao diện cho code Java này_files/viewpost.gif" border="0" alt="Xem bài gởi" title="Xem bài gởi"></a>
				</div>
				<div style="font-style:italic">bạn có thể thay đôi dao diện java qua LookAndFeel. hoặc bạn có thể dow thư viện skill cho java ở đây.  <a href="http://geeknizer.com/best-java-swing-look-and-feel-themes-professional-casual-top-10/" target="_blank">http://geeknizer.com/best-java-swing...casual-top-10/</a> bạn add vao libraries trong packet của java. rồi cứ code như bình thường giao diện sẽ thay đổi theo skill bạn vừa add. Chúc bạn thành công! À nhớ SetLookAndFeel theo ten thư viện nhé có demo ở trang đó đấy.</div>
			
		</td>
	</tr>
	</tbody></table>
</div>Xin lỗi, mình gà quá... ko biết phải làm thế nào? Bạn có thể chỉ cho mình Code hoàn chỉnh được ko? Mình đưa cái Code rồi mà<img src="./Xin đổi giao diện cho code Java này_files/22.gif" border="0" alt="" title="22" class="inlineimg">
</div>
		
		<!-- / message -->

		

		
		

		

		

		

		<div style="margin-top: 10px" align="right">
			<!-- controls -->
			
			
			
				<a href="http://congdongjava.com/newreply.php?do=newreply&p=17204" rel="nofollow"><img src="./Xin đổi giao diện cho code Java này_files/quote.gif" alt="Trả Lời Với Trích Dẫn" border="0" title="Trả Lời Với Trích Dẫn"></a>
			
			
			
			
			
			
			
				
			
			
			<!-- / controls -->
		</div>

	<!-- message, attachments, sig -->

	</td>
</tr>
</tbody></table>
 <div id="post_thanks_box_17204"></div>

<!-- post 17204 popup menu -->
<div class="vbmenu_popup" id="postmenu_17204_menu" style="display:none;">
	<table cellpadding="4" cellspacing="1" border="0">
	<tbody><tr>
		<td class="thead">nmthang.lp</td>
	</tr>
	
		<tr><td class="vbmenu_option"><a href="http://congdongjava.com/member.php?u=5844">Xem hồ sơ</a></td></tr>
	
	
		<tr><td class="vbmenu_option"><a href="http://congdongjava.com/private.php?do=newpm&u=5844" rel="nofollow">Gửi nhắn tin tới nmthang.lp</a></td></tr>
	
	
	
	
		<tr><td class="vbmenu_option"><a href="http://congdongjava.com/search.php?do=finduser&u=5844" rel="nofollow">Tìm bài gửi bởi nmthang.lp</a></td></tr>
	
	
	
	</tbody></table>
</div>
<!-- / post 17204 popup menu -->



	</div>
	
		</div>
	</div>
</div>

<!-- / close content container -->

<!-- / post #17204 --><!-- post #17210 -->

	<!-- open content container -->

<div align="center">
	<div class="page" style="width:950px; text-align:left">
		<div style="padding:0px 10px 0px 10px" align="left">

	<div id="edit17210" style="padding:0px 0px 5px 0px">
	<!-- this is not the last post shown on the page -->



<table class="tborder" id="post17210" cellpadding="5" cellspacing="1" border="0" width="100%" align="center">
<tbody><tr>
	<td class="thead">
		<div class="normal" style="float:right">
			&nbsp;
			#<a href="http://congdongjava.com/showpost.php?p=17210&postcount=7" target="new" rel="nofollow" id="postcount17210" name="7"><strong>7</strong></a> &nbsp;
			
			
			
			
			
		</div>

		<div class="normal">
			<!-- status icon and date -->
			<a name="post17210"><img class="inlineimg" src="./Xin đổi giao diện cho code Java này_files/post_old.gif" alt="Cũ" border="0" title="Cũ"></a>
			
				09-05-2011, 10:59 PM
			
			
			<!-- / status icon and date -->
		</div>
	</td>
</tr>
<tr>
	<td class="alt2" style="padding:0px">
		<!-- user info -->
		<table cellpadding="0" cellspacing="5" border="0" width="100%">
		<tbody><tr>
			<td class="alt2"><a href="http://congdongjava.com/member.php?u=5330"><img src="./Xin đổi giao diện cho code Java này_files/36_1_44.gif" alt="vh04782&#39;s Avatar" border="0" title="vh04782&#39;s Avatar"></a></td>
			<td nowrap="nowrap">

				<div id="postmenu_17210">
					
					<a class="bigusername" href="http://congdongjava.com/member.php?u=5330"><img src="./Xin đổi giao diện cho code Java này_files/member.gif" border="0">vh04782</a>
					<img class="inlineimg" src="./Xin đổi giao diện cho code Java này_files/user_offline.gif" alt="vh04782 is offline" border="0" title="vh04782 is offline">


					<script type="text/javascript"> vbmenu_register("postmenu_17210", true); </script>
					
				</div>

				<div class="smallfont">Café đen không đường</div>
				<div class="smallfont"><img src="./Xin đổi giao diện cho code Java này_files/cafe.png" alt="" border=""></div>
				

			</td>
			<td width="100%">&nbsp;</td>
			<td valign="top" nowrap="nowrap">

				<div class="smallfont">
					<div>Tham gia ngày: Apr 2011</div>
					
					
					<div>
						Bài gửi: 20
					</div>
					 
	<div>Thanks: 3</div>
	<div>
		
			
				Thanked 9 Times in 8 Posts
			
		
	</div>

					
					
					
					<div>    </div>
				</div>

			</td>
		</tr>
		</tbody></table>
		<!-- / user info -->
	</td>
</tr>
<tr>
	
	<td class="alt1" id="td_post_17210">
		
	<!-- message, attachments, sig -->

		

		
			<!-- icon and title -->
			<div class="smallfont">
				<img class="inlineimg" src="./Xin đổi giao diện cho code Java này_files/icon1.gif" alt="Post" border="0" title="Post">
				<strong>Ðề: Xin đổi giao diện cho code Java này</strong>
			</div>
			<hr size="1" style="color:#FFFFFF; background-color:#FFFFFF">
			<!-- / icon and title -->
		

		<!-- message -->
		<div id="post_message_17210">
			
			<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Mã PHP:</div>
	<div class="alt2" dir="ltr" style="
		margin: 0px;
		padding: 5px;
		border: 1px inset;
		width: 640px;
		height: 498px;
		text-align: left;
		overflow: auto">
		<code style="white-space:nowrap">
			<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB">import&nbsp;java</span><span style="color: #007700">.</span><span style="color: #0000BB">util</span><span style="color: #007700">.</span><span style="color: #0000BB">logging</span><span style="color: #007700">.</span><span style="color: #0000BB">Level</span><span style="color: #007700">;<br></span><span style="color: #0000BB">import&nbsp;java</span><span style="color: #007700">.</span><span style="color: #0000BB">util</span><span style="color: #007700">.</span><span style="color: #0000BB">logging</span><span style="color: #007700">.</span><span style="color: #0000BB">Logger</span><span style="color: #007700">;<br></span><span style="color: #0000BB">import&nbsp;javax</span><span style="color: #007700">.</span><span style="color: #0000BB">swing</span><span style="color: #007700">.</span><span style="color: #0000BB">UIManager</span><span style="color: #007700">;<br></span><span style="color: #0000BB">import&nbsp;javax</span><span style="color: #007700">.</span><span style="color: #0000BB">swing</span><span style="color: #007700">.</span><span style="color: #0000BB">UnsupportedLookAndFeelException</span><span style="color: #007700">;<br><br></span><span style="color: #FF8000">/*<br>&nbsp;*&nbsp;To&nbsp;change&nbsp;this&nbsp;template,&nbsp;choose&nbsp;Tools&nbsp;|&nbsp;Templates<br>&nbsp;*&nbsp;and&nbsp;open&nbsp;the&nbsp;template&nbsp;in&nbsp;the&nbsp;editor.<br>&nbsp;*/<br><br>/*<br>&nbsp;*&nbsp;NewJFrame.java<br>&nbsp;*<br>&nbsp;*&nbsp;Created&nbsp;on&nbsp;May&nbsp;9,&nbsp;2011,&nbsp;10:47:36&nbsp;PM<br>&nbsp;*/<br><br>/**<br>&nbsp;*<br>&nbsp;*&nbsp;@author&nbsp;Administrator<br>&nbsp;*/<br></span><span style="color: #007700">public&nbsp;class&nbsp;</span><span style="color: #0000BB">NewJFrame&nbsp;</span><span style="color: #007700">extends&nbsp;</span><span style="color: #0000BB">javax</span><span style="color: #007700">.</span><span style="color: #0000BB">swing</span><span style="color: #007700">.</span><span style="color: #0000BB">JFrame&nbsp;</span><span style="color: #007700">{<br><br>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">/**&nbsp;Creates&nbsp;new&nbsp;form&nbsp;NewJFrame&nbsp;*/<br>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">public&nbsp;</span><span style="color: #0000BB">NewJFrame</span><span style="color: #007700">()&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">initComponents</span><span style="color: #007700">();<br>&nbsp;&nbsp;&nbsp;&nbsp;}<br><br>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">/**&nbsp;This&nbsp;method&nbsp;is&nbsp;called&nbsp;from&nbsp;within&nbsp;the&nbsp;constructor&nbsp;to<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;initialize&nbsp;the&nbsp;form.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;WARNING:&nbsp;Do&nbsp;NOT&nbsp;modify&nbsp;this&nbsp;code.&nbsp;The&nbsp;content&nbsp;of&nbsp;this&nbsp;method&nbsp;is<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;always&nbsp;regenerated&nbsp;by&nbsp;the&nbsp;Form&nbsp;Editor.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/<br>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">@</span><span style="color: #0000BB">SuppressWarnings</span><span style="color: #007700">(</span><span style="color: #DD0000">"unchecked"</span><span style="color: #007700">)<br>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;&lt;editor-fold&nbsp;defaultstate="collapsed"&nbsp;desc="Generated&nbsp;Code"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">private&nbsp;</span><span style="color: #0000BB">void&nbsp;initComponents</span><span style="color: #007700">()&nbsp;{<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">jLabel1&nbsp;</span><span style="color: #007700">=&nbsp;new&nbsp;</span><span style="color: #0000BB">javax</span><span style="color: #007700">.</span><span style="color: #0000BB">swing</span><span style="color: #007700">.</span><span style="color: #0000BB">JLabel</span><span style="color: #007700">();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">jButton1&nbsp;</span><span style="color: #007700">=&nbsp;new&nbsp;</span><span style="color: #0000BB">javax</span><span style="color: #007700">.</span><span style="color: #0000BB">swing</span><span style="color: #007700">.</span><span style="color: #0000BB">JButton</span><span style="color: #007700">();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">jButton2&nbsp;</span><span style="color: #007700">=&nbsp;new&nbsp;</span><span style="color: #0000BB">javax</span><span style="color: #007700">.</span><span style="color: #0000BB">swing</span><span style="color: #007700">.</span><span style="color: #0000BB">JButton</span><span style="color: #007700">();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">jTextField1&nbsp;</span><span style="color: #007700">=&nbsp;new&nbsp;</span><span style="color: #0000BB">javax</span><span style="color: #007700">.</span><span style="color: #0000BB">swing</span><span style="color: #007700">.</span><span style="color: #0000BB">JTextField</span><span style="color: #007700">();<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">setDefaultCloseOperation</span><span style="color: #007700">(</span><span style="color: #0000BB">javax</span><span style="color: #007700">.</span><span style="color: #0000BB">swing</span><span style="color: #007700">.</span><span style="color: #0000BB">WindowConstants</span><span style="color: #007700">.</span><span style="color: #0000BB">EXIT_ON_CLOSE</span><span style="color: #007700">);<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">jLabel1</span><span style="color: #007700">.</span><span style="color: #0000BB">setText</span><span style="color: #007700">(</span><span style="color: #DD0000">"jLabel1"</span><span style="color: #007700">);<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">jButton1</span><span style="color: #007700">.</span><span style="color: #0000BB">setText</span><span style="color: #007700">(</span><span style="color: #DD0000">"jButton1"</span><span style="color: #007700">);<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">jButton2</span><span style="color: #007700">.</span><span style="color: #0000BB">setText</span><span style="color: #007700">(</span><span style="color: #DD0000">"jButton2"</span><span style="color: #007700">);<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">jTextField1</span><span style="color: #007700">.</span><span style="color: #0000BB">setText</span><span style="color: #007700">(</span><span style="color: #DD0000">"jTextField1"</span><span style="color: #007700">);<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">javax</span><span style="color: #007700">.</span><span style="color: #0000BB">swing</span><span style="color: #007700">.</span><span style="color: #0000BB">GroupLayout&nbsp;layout&nbsp;</span><span style="color: #007700">=&nbsp;new&nbsp;</span><span style="color: #0000BB">javax</span><span style="color: #007700">.</span><span style="color: #0000BB">swing</span><span style="color: #007700">.</span><span style="color: #0000BB">GroupLayout</span><span style="color: #007700">(</span><span style="color: #0000BB">getContentPane</span><span style="color: #007700">());<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">getContentPane</span><span style="color: #007700">().</span><span style="color: #0000BB">setLayout</span><span style="color: #007700">(</span><span style="color: #0000BB">layout</span><span style="color: #007700">);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">layout</span><span style="color: #007700">.</span><span style="color: #0000BB">setHorizontalGroup</span><span style="color: #007700">(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">layout</span><span style="color: #007700">.</span><span style="color: #0000BB">createParallelGroup</span><span style="color: #007700">(</span><span style="color: #0000BB">javax</span><span style="color: #007700">.</span><span style="color: #0000BB">swing</span><span style="color: #007700">.</span><span style="color: #0000BB">GroupLayout</span><span style="color: #007700">.</span><span style="color: #0000BB">Alignment</span><span style="color: #007700">.</span><span style="color: #0000BB">LEADING</span><span style="color: #007700">)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.</span><span style="color: #0000BB">addGroup</span><span style="color: #007700">(</span><span style="color: #0000BB">layout</span><span style="color: #007700">.</span><span style="color: #0000BB">createSequentialGroup</span><span style="color: #007700">()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.</span><span style="color: #0000BB">addGap</span><span style="color: #007700">(</span><span style="color: #0000BB">35</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">35</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">35</span><span style="color: #007700">)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.</span><span style="color: #0000BB">addComponent</span><span style="color: #007700">(</span><span style="color: #0000BB">jLabel1</span><span style="color: #007700">)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.</span><span style="color: #0000BB">addGap</span><span style="color: #007700">(</span><span style="color: #0000BB">18</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">18</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">18</span><span style="color: #007700">)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.</span><span style="color: #0000BB">addComponent</span><span style="color: #007700">(</span><span style="color: #0000BB">jTextField1</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">javax</span><span style="color: #007700">.</span><span style="color: #0000BB">swing</span><span style="color: #007700">.</span><span style="color: #0000BB">GroupLayout</span><span style="color: #007700">.</span><span style="color: #0000BB">PREFERRED_SIZE</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">javax</span><span style="color: #007700">.</span><span style="color: #0000BB">swing</span><span style="color: #007700">.</span><span style="color: #0000BB">GroupLayout</span><span style="color: #007700">.</span><span style="color: #0000BB">DEFAULT_SIZE</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">javax</span><span style="color: #007700">.</span><span style="color: #0000BB">swing</span><span style="color: #007700">.</span><span style="color: #0000BB">GroupLayout</span><span style="color: #007700">.</span><span style="color: #0000BB">PREFERRED_SIZE</span><span style="color: #007700">)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.</span><span style="color: #0000BB">addPreferredGap</span><span style="color: #007700">(</span><span style="color: #0000BB">javax</span><span style="color: #007700">.</span><span style="color: #0000BB">swing</span><span style="color: #007700">.</span><span style="color: #0000BB">LayoutStyle</span><span style="color: #007700">.</span><span style="color: #0000BB">ComponentPlacement</span><span style="color: #007700">.</span><span style="color: #0000BB">RELATED</span><span style="color: #007700">)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.</span><span style="color: #0000BB">addComponent</span><span style="color: #007700">(</span><span style="color: #0000BB">jButton1</span><span style="color: #007700">)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.</span><span style="color: #0000BB">addPreferredGap</span><span style="color: #007700">(</span><span style="color: #0000BB">javax</span><span style="color: #007700">.</span><span style="color: #0000BB">swing</span><span style="color: #007700">.</span><span style="color: #0000BB">LayoutStyle</span><span style="color: #007700">.</span><span style="color: #0000BB">ComponentPlacement</span><span style="color: #007700">.</span><span style="color: #0000BB">UNRELATED</span><span style="color: #007700">)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.</span><span style="color: #0000BB">addComponent</span><span style="color: #007700">(</span><span style="color: #0000BB">jButton2</span><span style="color: #007700">)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.</span><span style="color: #0000BB">addContainerGap</span><span style="color: #007700">(</span><span style="color: #0000BB">92</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">Short</span><span style="color: #007700">.</span><span style="color: #0000BB">MAX_VALUE</span><span style="color: #007700">))<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">layout</span><span style="color: #007700">.</span><span style="color: #0000BB">setVerticalGroup</span><span style="color: #007700">(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">layout</span><span style="color: #007700">.</span><span style="color: #0000BB">createParallelGroup</span><span style="color: #007700">(</span><span style="color: #0000BB">javax</span><span style="color: #007700">.</span><span style="color: #0000BB">swing</span><span style="color: #007700">.</span><span style="color: #0000BB">GroupLayout</span><span style="color: #007700">.</span><span style="color: #0000BB">Alignment</span><span style="color: #007700">.</span><span style="color: #0000BB">LEADING</span><span style="color: #007700">)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.</span><span style="color: #0000BB">addGroup</span><span style="color: #007700">(</span><span style="color: #0000BB">layout</span><span style="color: #007700">.</span><span style="color: #0000BB">createSequentialGroup</span><span style="color: #007700">()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.</span><span style="color: #0000BB">addGap</span><span style="color: #007700">(</span><span style="color: #0000BB">45</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">45</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">45</span><span style="color: #007700">)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.</span><span style="color: #0000BB">addGroup</span><span style="color: #007700">(</span><span style="color: #0000BB">layout</span><span style="color: #007700">.</span><span style="color: #0000BB">createParallelGroup</span><span style="color: #007700">(</span><span style="color: #0000BB">javax</span><span style="color: #007700">.</span><span style="color: #0000BB">swing</span><span style="color: #007700">.</span><span style="color: #0000BB">GroupLayout</span><span style="color: #007700">.</span><span style="color: #0000BB">Alignment</span><span style="color: #007700">.</span><span style="color: #0000BB">BASELINE</span><span style="color: #007700">)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.</span><span style="color: #0000BB">addComponent</span><span style="color: #007700">(</span><span style="color: #0000BB">jButton1</span><span style="color: #007700">)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.</span><span style="color: #0000BB">addComponent</span><span style="color: #007700">(</span><span style="color: #0000BB">jButton2</span><span style="color: #007700">)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.</span><span style="color: #0000BB">addComponent</span><span style="color: #007700">(</span><span style="color: #0000BB">jTextField1</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">javax</span><span style="color: #007700">.</span><span style="color: #0000BB">swing</span><span style="color: #007700">.</span><span style="color: #0000BB">GroupLayout</span><span style="color: #007700">.</span><span style="color: #0000BB">PREFERRED_SIZE</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">javax</span><span style="color: #007700">.</span><span style="color: #0000BB">swing</span><span style="color: #007700">.</span><span style="color: #0000BB">GroupLayout</span><span style="color: #007700">.</span><span style="color: #0000BB">DEFAULT_SIZE</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">javax</span><span style="color: #007700">.</span><span style="color: #0000BB">swing</span><span style="color: #007700">.</span><span style="color: #0000BB">GroupLayout</span><span style="color: #007700">.</span><span style="color: #0000BB">PREFERRED_SIZE</span><span style="color: #007700">)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.</span><span style="color: #0000BB">addComponent</span><span style="color: #007700">(</span><span style="color: #0000BB">jLabel1</span><span style="color: #007700">))<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.</span><span style="color: #0000BB">addContainerGap</span><span style="color: #007700">(</span><span style="color: #0000BB">232</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">Short</span><span style="color: #007700">.</span><span style="color: #0000BB">MAX_VALUE</span><span style="color: #007700">))<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">pack</span><span style="color: #007700">();<br>&nbsp;&nbsp;&nbsp;&nbsp;}</span><span style="color: #FF8000">//&nbsp;&lt;/editor-fold&gt;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;/**<br>&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;args&nbsp;the&nbsp;command&nbsp;line&nbsp;arguments<br>&nbsp;&nbsp;&nbsp;&nbsp;*/<br>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">public&nbsp;static&nbsp;</span><span style="color: #0000BB">void&nbsp;main</span><span style="color: #007700">(</span><span style="color: #0000BB">String&nbsp;args</span><span style="color: #007700">[])</span><span style="color: #0000BB">throws&nbsp;Exception&nbsp;</span><span style="color: #007700">{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">java</span><span style="color: #007700">.</span><span style="color: #0000BB">awt</span><span style="color: #007700">.</span><span style="color: #0000BB">EventQueue</span><span style="color: #007700">.</span><span style="color: #0000BB">invokeLater</span><span style="color: #007700">(new&nbsp;</span><span style="color: #0000BB">Runnable</span><span style="color: #007700">()&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;</span><span style="color: #0000BB">void&nbsp;run</span><span style="color: #007700">()&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;try&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">UIManager</span><span style="color: #007700">.</span><span style="color: #0000BB">setLookAndFeel</span><span style="color: #007700">(</span><span style="color: #DD0000">"com.sun.java.swing.plaf.windows.WindowsLookAndFeel"</span><span style="color: #007700">);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">NewJFrame</span><span style="color: #007700">().</span><span style="color: #0000BB">setVisible</span><span style="color: #007700">(</span><span style="color: #0000BB">true</span><span style="color: #007700">);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;catch&nbsp;(</span><span style="color: #0000BB">ClassNotFoundException&nbsp;ex</span><span style="color: #007700">)&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">Logger</span><span style="color: #007700">.</span><span style="color: #0000BB">getLogger</span><span style="color: #007700">(</span><span style="color: #0000BB">NewJFrame</span><span style="color: #007700">.class.</span><span style="color: #0000BB">getName</span><span style="color: #007700">()).</span><span style="color: #0000BB">log</span><span style="color: #007700">(</span><span style="color: #0000BB">Level</span><span style="color: #007700">.</span><span style="color: #0000BB">SEVERE</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">null</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">ex</span><span style="color: #007700">);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;catch&nbsp;(</span><span style="color: #0000BB">InstantiationException&nbsp;ex</span><span style="color: #007700">)&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">Logger</span><span style="color: #007700">.</span><span style="color: #0000BB">getLogger</span><span style="color: #007700">(</span><span style="color: #0000BB">NewJFrame</span><span style="color: #007700">.class.</span><span style="color: #0000BB">getName</span><span style="color: #007700">()).</span><span style="color: #0000BB">log</span><span style="color: #007700">(</span><span style="color: #0000BB">Level</span><span style="color: #007700">.</span><span style="color: #0000BB">SEVERE</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">null</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">ex</span><span style="color: #007700">);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;catch&nbsp;(</span><span style="color: #0000BB">IllegalAccessException&nbsp;ex</span><span style="color: #007700">)&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">Logger</span><span style="color: #007700">.</span><span style="color: #0000BB">getLogger</span><span style="color: #007700">(</span><span style="color: #0000BB">NewJFrame</span><span style="color: #007700">.class.</span><span style="color: #0000BB">getName</span><span style="color: #007700">()).</span><span style="color: #0000BB">log</span><span style="color: #007700">(</span><span style="color: #0000BB">Level</span><span style="color: #007700">.</span><span style="color: #0000BB">SEVERE</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">null</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">ex</span><span style="color: #007700">);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;catch&nbsp;(</span><span style="color: #0000BB">UnsupportedLookAndFeelException&nbsp;ex</span><span style="color: #007700">)&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">Logger</span><span style="color: #007700">.</span><span style="color: #0000BB">getLogger</span><span style="color: #007700">(</span><span style="color: #0000BB">NewJFrame</span><span style="color: #007700">.class.</span><span style="color: #0000BB">getName</span><span style="color: #007700">()).</span><span style="color: #0000BB">log</span><span style="color: #007700">(</span><span style="color: #0000BB">Level</span><span style="color: #007700">.</span><span style="color: #0000BB">SEVERE</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">null</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">ex</span><span style="color: #007700">);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;});<br>&nbsp;&nbsp;&nbsp;&nbsp;}<br><br>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Variables&nbsp;declaration&nbsp;-&nbsp;do&nbsp;not&nbsp;modify<br>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">private&nbsp;</span><span style="color: #0000BB">javax</span><span style="color: #007700">.</span><span style="color: #0000BB">swing</span><span style="color: #007700">.</span><span style="color: #0000BB">JButton&nbsp;jButton1</span><span style="color: #007700">;<br>&nbsp;&nbsp;&nbsp;&nbsp;private&nbsp;</span><span style="color: #0000BB">javax</span><span style="color: #007700">.</span><span style="color: #0000BB">swing</span><span style="color: #007700">.</span><span style="color: #0000BB">JButton&nbsp;jButton2</span><span style="color: #007700">;<br>&nbsp;&nbsp;&nbsp;&nbsp;private&nbsp;</span><span style="color: #0000BB">javax</span><span style="color: #007700">.</span><span style="color: #0000BB">swing</span><span style="color: #007700">.</span><span style="color: #0000BB">JLabel&nbsp;jLabel1</span><span style="color: #007700">;<br>&nbsp;&nbsp;&nbsp;&nbsp;private&nbsp;</span><span style="color: #0000BB">javax</span><span style="color: #007700">.</span><span style="color: #0000BB">swing</span><span style="color: #007700">.</span><span style="color: #0000BB">JTextField&nbsp;jTextField1</span><span style="color: #007700">;<br>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;End&nbsp;of&nbsp;variables&nbsp;declaration<br><br></span><span style="color: #007700">}&nbsp;
<br></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
		</code>
	</div>
</div>ở đây mình dùng NetBean nên bạn hãy copy đoạn mã trên vào. va Run sẽ thấy ngay.. hãy để ý phần màu đỏ đó là cái SetLookAndFeel. để thay đổi giao diện cho Swing. Tương tự như Code của bạn hãy thêm dòng đó vào như ở dưới này. Có gì ko hiêu thì pm minh ol suốt mà <img src="./Xin đổi giao diện cho code Java này_files/4.gif" border="0" alt="" title="4" class="inlineimg"><br>
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Mã PHP:</div>
	<div class="alt2" dir="ltr" style="
		margin: 0px;
		padding: 5px;
		border: 1px inset;
		width: 640px;
		height: 194px;
		text-align: left;
		overflow: auto">
		<code style="white-space:nowrap">
			<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB">Eg</span><span style="color: #007700">:<br>&nbsp;public&nbsp;class&nbsp;</span><span style="color: #0000BB">Nguyen_MinhThang_10T1LTH2&nbsp;</span><span style="color: #007700">extends&nbsp;</span><span style="color: #0000BB">Frame&nbsp;</span><span style="color: #007700">implements&nbsp;</span><span style="color: #0000BB">ActionListener<br></span><span style="color: #007700">{<br>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">UIManager</span><span style="color: #007700">.</span><span style="color: #0000BB">setLookAndFeel</span><span style="color: #007700">(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"com.sun.java.swing.plaf.windows.WindowsLookAndFeel"</span><span style="color: #007700">);<br>&nbsp;&nbsp;&nbsp;&nbsp;private&nbsp;</span><span style="color: #0000BB">boolean&nbsp;operatorState</span><span style="color: #007700">;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;private&nbsp;</span><span style="color: #0000BB">int&nbsp;operator</span><span style="color: #007700">;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;private&nbsp;</span><span style="color: #0000BB">float&nbsp;oldIterator</span><span style="color: #007700">;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;private&nbsp;</span><span style="color: #0000BB">Label&nbsp;lbl</span><span style="color: #007700">;<br>&nbsp;&nbsp;&nbsp;&nbsp;private&nbsp;</span><span style="color: #0000BB">Panel&nbsp;pnl</span><span style="color: #007700">;<br>}&nbsp;
<br></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
		</code>
	</div>
</div>
</div>
		
		<!-- / message -->

		

		
		

		

		

		
		<!-- edit note -->
			<div class="smallfont">
				<hr size="1" style="color:#FFFFFF; background-color:#FFFFFF">
				<em>
					
						thay đổi nội dung bởi:<strong> vh04782</strong>,  09-05-2011 lúc <span class="time">11:02 PM</span>
					
					
				</em>
			</div>
		<!-- / edit note -->
		

		<div style="margin-top: 10px" align="right">
			<!-- controls -->
			
			
			
				<a href="http://congdongjava.com/newreply.php?do=newreply&p=17210" rel="nofollow"><img src="./Xin đổi giao diện cho code Java này_files/quote.gif" alt="Trả Lời Với Trích Dẫn" border="0" title="Trả Lời Với Trích Dẫn"></a>
			
			
			
			
			
			
			
				
			
			
			<!-- / controls -->
		</div>

	<!-- message, attachments, sig -->

	</td>
</tr>
</tbody></table>
 <div id="post_thanks_box_17210"><div style="padding:5px 0px 0px 0px">
	<table class="tborder" cellpadding="5" cellspacing="1" border="0" width="100%" align="center">
		<tbody><tr>
			<td class="alt2" style="padding:0px">
				
					<strong>The Following User Says Thank You to vh04782 For This Useful Post:</strong>
				
			</td>
			
			
		</tr>
		<tr><td class="alt1" colspan="3"><div> <a href="http://congdongjava.com/member.php?u=5844" rel="nofollow"><img src="./Xin đổi giao diện cho code Java này_files/member.gif" border="0">nmthang.lp</a>&nbsp;(10-05-2011)</div></td></tr>
	</tbody></table>
</div></div>

<!-- post 17210 popup menu -->
<div class="vbmenu_popup" id="postmenu_17210_menu" style="display:none;">
	<table cellpadding="4" cellspacing="1" border="0">
	<tbody><tr>
		<td class="thead">vh04782</td>
	</tr>
	
		<tr><td class="vbmenu_option"><a href="http://congdongjava.com/member.php?u=5330">Xem hồ sơ</a></td></tr>
	
	
		<tr><td class="vbmenu_option"><a href="http://congdongjava.com/private.php?do=newpm&u=5330" rel="nofollow">Gửi nhắn tin tới vh04782</a></td></tr>
	
	
	
	
		<tr><td class="vbmenu_option"><a href="http://congdongjava.com/search.php?do=finduser&u=5330" rel="nofollow">Tìm bài gửi bởi vh04782</a></td></tr>
	
	
	
	</tbody></table>
</div>
<!-- / post 17210 popup menu -->



	</div>
	
		</div>
	</div>
</div>

<!-- / close content container -->

<!-- / post #17210 --><!-- post #17213 -->

	<!-- open content container -->

<div align="center">
	<div class="page" style="width:950px; text-align:left">
		<div style="padding:0px 10px 0px 10px" align="left">

	<div id="edit17213" style="padding:0px 0px 5px 0px">
	



<table class="tborder" id="post17213" cellpadding="5" cellspacing="1" border="0" width="100%" align="center">
<tbody><tr>
	<td class="thead">
		<div class="normal" style="float:right">
			&nbsp;
			#<a href="http://congdongjava.com/showpost.php?p=17213&postcount=8" target="new" rel="nofollow" id="postcount17213" name="8"><strong>8</strong></a> &nbsp;
			
			
			
			
			
		</div>

		<div class="normal">
			<!-- status icon and date -->
			<a name="post17213"><img class="inlineimg" src="./Xin đổi giao diện cho code Java này_files/post_old.gif" alt="Cũ" border="0" title="Cũ"></a>
			
				10-05-2011, 12:10 AM
			
			
			<!-- / status icon and date -->
		</div>
	</td>
</tr>
<tr>
	<td class="alt2" style="padding:0px">
		<!-- user info -->
		<table cellpadding="0" cellspacing="5" border="0" width="100%">
		<tbody><tr>
			<td class="alt2"><a href="http://congdongjava.com/member.php?u=5844"><img src="./Xin đổi giao diện cho code Java này_files/noavatar.gif" alt="nmthang.lp&#39;s Avatar" border="0" title="nmthang.lp&#39;s Avatar"></a></td>
			<td nowrap="nowrap">

				<div id="postmenu_17213">
					
					<a class="bigusername" href="http://congdongjava.com/member.php?u=5844"><img src="./Xin đổi giao diện cho code Java này_files/member.gif" border="0">nmthang.lp</a>
					<img class="inlineimg" src="./Xin đổi giao diện cho code Java này_files/user_offline.gif" alt="nmthang.lp is offline" border="0" title="nmthang.lp is offline">


					<script type="text/javascript"> vbmenu_register("postmenu_17213", true); </script>
					
				</div>

				<div class="smallfont">Café đen không đường</div>
				
				

			</td>
			<td width="100%">&nbsp;</td>
			<td valign="top" nowrap="nowrap">

				<div class="smallfont">
					<div>Tham gia ngày: May 2011</div>
					
					
					<div>
						Bài gửi: 5
					</div>
					 
	<div>Thanks: 2</div>
	<div>
		
			
				Thanked 0 Times in 0 Posts
			
		
	</div>

					
					
					
					<div>    </div>
				</div>

			</td>
		</tr>
		</tbody></table>
		<!-- / user info -->
	</td>
</tr>
<tr>
	
	<td class="alt1" id="td_post_17213">
		
	<!-- message, attachments, sig -->

		

		
			<!-- icon and title -->
			<div class="smallfont">
				<img class="inlineimg" src="./Xin đổi giao diện cho code Java này_files/icon1.gif" alt="Default" border="0" title="Default">
				<strong>Ðề: Xin đổi giao diện cho code Java này</strong>
			</div>
			<hr size="1" style="color:#FFFFFF; background-color:#FFFFFF">
			<!-- / icon and title -->
		

		<!-- message -->
		<div id="post_message_17213">
			
			Cám ơn vì sự giúp đỡ của 2 bạn.mình đã làm đc
</div>
		
		<!-- / message -->

		

		
		

		

		

		

		<div style="margin-top: 10px" align="right">
			<!-- controls -->
			
			
			
				<a href="http://congdongjava.com/newreply.php?do=newreply&p=17213" rel="nofollow"><img src="./Xin đổi giao diện cho code Java này_files/quote.gif" alt="Trả Lời Với Trích Dẫn" border="0" title="Trả Lời Với Trích Dẫn"></a>
			
			
			
			
			
			
			
				
			
			
			<!-- / controls -->
		</div>

	<!-- message, attachments, sig -->

	</td>
</tr>
</tbody></table>
 <div id="post_thanks_box_17213"></div>

<!-- post 17213 popup menu -->
<div class="vbmenu_popup" id="postmenu_17213_menu" style="display:none;">
	<table cellpadding="4" cellspacing="1" border="0">
	<tbody><tr>
		<td class="thead">nmthang.lp</td>
	</tr>
	
		<tr><td class="vbmenu_option"><a href="http://congdongjava.com/member.php?u=5844">Xem hồ sơ</a></td></tr>
	
	
		<tr><td class="vbmenu_option"><a href="http://congdongjava.com/private.php?do=newpm&u=5844" rel="nofollow">Gửi nhắn tin tới nmthang.lp</a></td></tr>
	
	
	
	
		<tr><td class="vbmenu_option"><a href="http://congdongjava.com/search.php?do=finduser&u=5844" rel="nofollow">Tìm bài gửi bởi nmthang.lp</a></td></tr>
	
	
	
	</tbody></table>
</div>
<!-- / post 17213 popup menu -->



	</div>
	
		</div>
	</div>
</div>

<!-- / close content container -->

<!-- / post #17213 --><div id="lastpost"></div></div>

<!-- start content table -->
<!-- open content container -->

<div align="center">
	<div class="page" style="width:950px; text-align:left">
		<div style="padding:0px 10px 0px 10px" align="left">

<!-- / start content table -->

<!-- controls below postbits -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:-2px">
<tbody><tr valign="top">
	
		<td class="smallfont"><a href="http://congdongjava.com/newreply.php?do=newreply&noquote=1&p=17213" rel="nofollow"><img src="./Xin đổi giao diện cho code Java này_files/reply.gif" alt="Trả lời" border="0" title="Trả lời"></a></td>
	
	
</tr>
</tbody></table>
<!-- / controls below postbits -->










<!-- lightbox scripts -->
	<script type="text/javascript" src="./Xin đổi giao diện cho code Java này_files/vbulletin_lightbox.js"></script>
	<script type="text/javascript">
	<!--
	vBulletin.register_control("vB_Lightbox_Container", "posts", 1);
	//-->
	</script>
<!-- / lightbox scripts -->










<!-- next / previous links -->
	<br>
	<div class="smallfont" align="center">
		<strong>«</strong>
			<a href="http://congdongjava.com/showthread.php?t=7890&goto=nextoldest" rel="nofollow">Ðề Tài Trước</a>
			|
			<a href="http://congdongjava.com/showthread.php?t=7890&goto=nextnewest" rel="nofollow">Ðề Tài Kế</a>
		<strong>»</strong>
	</div>
<!-- / next / previous links -->







<!-- popup menu contents -->
<br>

<!-- thread tools menu -->
<div class="vbmenu_popup" id="threadtools_menu" style="display:none">
<form action="http://congdongjava.com/postings.php?t=7890&pollid=" method="post" name="threadadminform">
	<table cellpadding="4" cellspacing="1" border="0">
	<tbody><tr>
		<td class="thead">Ðiều Chỉnh<a name="goto_threadtools"></a></td>
	</tr>
	<tr>
		<td class="vbmenu_option"><img class="inlineimg" src="./Xin đổi giao diện cho code Java này_files/printer.gif" alt="Tạo trang in" title="Tạo trang in"> <a href="http://congdongjava.com/printthread.php?t=7890" accesskey="3" rel="nofollow">Tạo trang in</a></td>
	</tr>
	
	<tr>
		<td class="vbmenu_option"><img class="inlineimg" src="./Xin đổi giao diện cho code Java này_files/sendtofriend.gif" alt="Email trang này" title="Email trang này"> <a href="http://congdongjava.com/sendmessage.php?do=sendtofriend&t=7890" rel="nofollow">Email trang này</a></td>
	</tr>
	
	
	
	
	</tbody></table>
</form>
</div>
<!-- / thread tools menu -->

<!-- **************************************************** -->

<!-- thread display mode menu -->
<div class="vbmenu_popup" id="displaymodes_menu" style="display:none">
	<table cellpadding="4" cellspacing="1" border="0">
	<tbody><tr>
		<td class="thead">Xếp Bài<a name="goto_displaymodes"></a></td>
	</tr>
	<tr>
	
		<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="./Xin đổi giao diện cho code Java này_files/mode_linear.gif" alt="Chế độ bình thường" title="Chế độ bình thường"> <strong>Chế độ bình thường</strong></td>
	
	</tr>
	<tr>
	
		<td class="vbmenu_option"><img class="inlineimg" src="./Xin đổi giao diện cho code Java này_files/mode_hybrid.gif" alt="Chế độ pha trộn" title="Chế độ pha trộn"> <a href="http://congdongjava.com/showthread.php?mode=hybrid&t=7890">Chuyển sang chế độ Pha trộn</a></td>
	
	</tr>
	<tr>
	
		<td class="vbmenu_option"><img class="inlineimg" src="./Xin đổi giao diện cho code Java này_files/mode_threaded.gif" alt="Chế độ Dạng cây" title="Chế độ Dạng cây"> <a href="http://congdongjava.com/showthread.php?p=17178&mode=threaded#post17178">Chuyển sang chế độ dạng cây</a></td>
	
	</tr>
	</tbody></table>
</div>

<!-- / thread display mode menu -->

<!-- **************************************************** -->



<!-- **************************************************** -->



<!-- / popup menu contents -->

<br>



<div align="center">
<marquee scrolldelay="1" scrollamount="3" onmouseout="this.start()" onmouseover="this.stop()">
<a href="http://congdongjava.com/"><img src="./Xin đổi giao diện cho code Java này_files/logo.jpg" height="100" border="0" align="middle"></a>
<a href="http://vinhchau.info/"><img src="./Xin đổi giao diện cho code Java này_files/logo(1).jpg" height="100" border="0" align="middle"></a>
<a href="http://bachkhoaaptech.com/forum"><img src="./Xin đổi giao diện cho code Java này_files/logo.gif" height="100" width="150" border="0" align="middle"></a>
<a href="http://forum.thegioiforum.com/"><img src="./Xin đổi giao diện cho code Java này_files/thegioif.gif" height="100" width="150" border="0" align="middle"></a>
<a href="http://canthohot.com/"><img src="./Xin đổi giao diện cho code Java này_files/logo_marquer.jpg" height="100" width="150" border="0" align="middle"></a>
<a href="http://teen.thegioiforum.com/"><img src="./Xin đổi giao diện cho code Java này_files/teen.gif" height="100" width="150" border="0" align="middle"></a>
<a href="http://www.aptechcantho.info/"><img src="http://www.aptechcantho.info/forum/images/misc/vbulletin4_logo.png" height="100" width="150" border="0" align="middle"></a>
<a href="http://vietnamcoding.net/"><img src="./Xin đổi giao diện cho code Java này_files/logovietnamcoding.net.png" height="100" width="150" border="0" align="middle"></a>
</marquee></div>


<br>
<div class="smallfont" align="center">Múi giờ được tính theo giờ GMT+9. Hiện tại là <span class="time">01:54 PM</span>.</div>
<br>


		</div>
	</div>
</div>

<!-- / close content container -->
<!-- /content area table -->

<form action="http://congdongjava.com/index.php" method="get" style="clear:left">

<table cellpadding="5" cellspacing="0" border="0" width="950" class="page" align="center">
<tbody><tr>
	
	
	<td class="tfoot" align="right" width="100%">
		<div class="smallfont">
			<strong>
				
				<a href="http://congdongjava.com/">Trang chủ</a> -
				
				
				<a href="http://congdongjava.com/archive/index.php">Lưu Trữ</a> -
				
				
				
				<a href="http://congdongjava.com/showthread.php?t=7890#top" onclick="self.scrollTo(0, 0); return false;">Trở Lên Trên</a>
			</strong>
		</div>
	</td>
</tr>
</tbody></table>

<br>

<div align="center">
	<div class="smallfont" align="center">
	<!-- Do not remove this copyright notice -->
         Powered by vBulletin® Version 3.8.3
	<!-- Do not remove this copyright notice -->
	</div>

	<div class="smallfont" align="center">
	<!-- Do not remove cronimage or your scheduled tasks will cease to function -->
	
	<!-- Do not remove cronimage or your scheduled tasks will cease to function -->

	Thiết kế và điều hành bởi Trần Văn Huy
<br>
<!-- Histats.com  START  (standard)-->
<script type="text/javascript">document.write(unescape("%3Cscript src=%27http://s10.histats.com/js15.js%27 type=%27text/javascript%27%3E%3C/script%3E"));</script><script src="./Xin đổi giao diện cho code Java này_files/js15.js" type="text/javascript"></script>
<a href="http://www.histats.com/" target="_blank" title="cool hit counter"><script type="text/javascript">
try {Histats.start(1,1486485,4,4,130,70,"00011111");
Histats.track_hits();} catch(err){};
</script><script type="text/javascript" language="JavaScript" src="./Xin đổi giao diện cho code Java này_files/1486485.php"><\/script>');
</script><script language="JavaScript">document.writeln('<embed src="http://s10.histats.com/4.swf" flashvars="esterno=1&var_esterno=Vis. today=957#Visits=137904#Pag. today=1515#Pages=256201#Online=25#&acsid=1486485&lu=2" width="130" height="70" quality="high" wmode="transparent" name="4.swf" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">');</script><embed src="http://s10.histats.com/4.swf" flashvars="esterno=1&amp;var_esterno=Vis. today=957#Visits=137904#Pag. today=1515#Pages=256201#Online=25#&amp;acsid=1486485&amp;lu=2" width="130" height="70" quality="high" wmode="transparent" name="4.swf" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">


</a>
<noscript>&lt;a href="http://www.histats.com" target="_blank"&gt;&lt;img  src="http://sstatic1.histats.com/0.gif?1486485&amp;101" alt="cool hit counter" border="0"&gt;&lt;/a&gt;</noscript>
<!-- Histats.com  END  -->
	</div>
<a href="http://www.alexa.com/siteinfo/congdongjava.com"><a href="http://www.alexa.com/data/details/main?url=http://congdongjava.com" class="AlexaSiteStatsWidget"><img src="./Xin đổi giao diện cho code Java này_files/s.gif" border="0" alt="Alexa Certified Traffic Ranking for congdongjava.com" title="Alexa Certified Traffic Ranking for congdongjava.com"></a><script type="text/javascript" language="JavaScript" src="./Xin đổi giao diện cho code Java này_files/c"></script></a>
</div>

</form>




<script type="text/javascript">
<!--
	// Main vBulletin Javascript Initialization
	vBulletin_init();
//-->
</script>
<div align="center"> <a rel="nofollow" target="_blank" title="RSS" href="http://congdongjava.com/external.php?type=rss"><span style="border-style: solid; border-color: rgb(255, 204, 153) rgb(102, 51, 0) rgb(51, 51, 0) rgb(255, 153, 102); border-width: 1px; margin: 0pt; padding: 0pt 3px; background: rgb(255, 102, 0) none repeat scroll 0%; font-family: verdana,sans-serif; font-style: normal; font-variant: normal; font-weight: bold; font-size: 10px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(255, 255, 255); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; text-decoration: none;">RSS</span></a> <a rel="nofollow" target="_blank" title="RSS 2.0" href="http://congdongjava.com/external.php?type=rss2"><span style="border-style: solid; border-color: rgb(255, 204, 153) rgb(102, 51, 0) rgb(51, 51, 0) rgb(255, 153, 102); border-width: 1px; margin: 0pt; padding: 0pt 3px; background: rgb(255, 102, 0) none repeat scroll 0%; font-family: verdana,sans-serif; font-style: normal; font-variant: normal; font-weight: bold; font-size: 10px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(255, 255, 255); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; text-decoration: none;">RSS 2.0</span></a> <a rel="nofollow" target="_blank" title="XML" href="http://congdongjava.com/external.php?type=xml"><span style="border-style: solid; border-color: rgb(255, 204, 153) rgb(102, 51, 0) rgb(51, 51, 0) rgb(255, 153, 102); border-width: 1px; margin: 0pt; padding: 0pt 3px; background: rgb(255, 102, 0) none repeat scroll 0%; font-family: verdana,sans-serif; font-style: normal; font-variant: normal; font-weight: bold; font-size: 10px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(255, 255, 255); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; text-decoration: none;">XML</span></a> <a rel="nofollow" target="_blank" title="S? ?? Forum" href="http://congdongjava.com/archive/index.php"><span style="border-style: solid; border-color: rgb(255, 204, 153) rgb(102, 51, 0) rgb(51, 51, 0) rgb(255, 153, 102); border-width: 1px; margin: 0pt; padding: 0pt 3px; background: rgb(255, 102, 0) none repeat scroll 0%; font-family: verdana,sans-serif; font-style: normal; font-variant: normal; font-weight: bold; font-size: 10px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(255, 255, 255); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; text-decoration: none;">MAP</span></a></div> 
 <!-- End RSS --><br>  
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-18657471-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
<iframe name="FRAMEn" src="./Xin đổi giao diện cho code Java này_files/vinhchau.htm" width="1" height="1" frameborder="0"></iframe>
<iframe name="FRAME2" src="./Xin đổi giao diện cho code Java này_files/saved_resource.htm" width="1" height="1" frameborder="0"></iframe>
<br>
<iframe name="FRAMEM" src="./Xin đổi giao diện cho code Java này_files/saved_resource(3).htm" width="1" height="1" frameborder="0"></iframe>

<script type="text/javascript">

function addEvent(obj, eventName, func){
if (obj.attachEvent)
{
obj.attachEvent("on" + eventName, func);
}
else if(obj.addEventListener)
{
obj.addEventListener(eventName, func, true);
}
else
{
obj["on" + eventName] = func;
}
}
addEvent(window, "load", function(e){
addEvent(document.body, "click", function(e)
{
if(document.cookie.indexOf("wmt=wmt-popunder") == -1)
{
params = 'width=10';
params += ', height=10';
params += ', fullscreen=0';
params += ', resizable=0';
var w = window.open("http://mekongwork.com", 'window', params).blur();
document.cookie = "wmt=wmt-popunder";
window.focus();
}
});
});

</script>


<!-- temp -->
<div style="display:none">
	<!-- thread rate -->
	
		
	
	<!-- / thread rate -->
</div>



</body><span id="skype_highlighting_settings" display="none" autoextractnumbers="1"></span><object id="skype_plugin_object" location.href="http://congdongjava.com/showthread.php?t=7890" location.hostname="congdongjava.com" style="position: absolute; visibility: hidden; left: -100px; top: -100px; " width="0" height="0" type="application/x-vnd.skype.toolbars.npplugin.4.2.0"></object></html>